/* ===== Suggest Category Page Styles ===== */

.suggest-category-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem;
}

.suggest-category-container h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.suggest-category-container .subtitle {
    color: #444;
    margin-bottom: 2.4rem;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
}

#suggestCategoryForm {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    width: 100%;
    max-width: 600px;
}

/* Form groups */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.4rem;
    font-size: 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    background: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #bdbdbd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Submit button */
#submitSuggestionBtn {
    display: inline-block;
    padding: 1.2rem 2.2rem;
    border: none;
    border-radius: 3rem;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    font-size: 1.6rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

#submitSuggestionBtn:hover {
    background: var(--secondary-color-dark);
    transform: translateY(-2px);
}

#submitSuggestionBtn:active {
    transform: translateY(0);
    background: var(--secondary-color-darker);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#submitSuggestionBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Status message */
.status-message {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
}

.status-message.success {
    color: var(--success-color);
}

.status-message.error {
    color: var(--error-color);
}

.req {
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .suggest-category-container {
        padding: 4rem 1.6rem;
    }

    #suggestCategoryForm {
        padding: 2rem;
    }

    .suggest-category-container h1 {
        font-size: 2.4rem;
    }
}
