main {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.add-service-form {
    background-color: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
}

.add-service-form h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.add-service-form p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-weight: 600;
    font-size: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1.5rem;
    background-color: #f9f9f9;
    color: var(--text-color);
    transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    margin-right: 3px;
    margin-bottom: -1px;
}

input[type="checkbox"]:checked::after {
    content: "✔";
    background-color: var(--primary-color);
    font-size: 15px;
    position: absolute;
    top: -5px;
    left: 0px;
    color: white;
    padding: 0;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.flex-row {
    flex-direction: row;
    gap: 2rem;
}

.flex-row .form-group {
    flex: 1;
}

.input-error {
    font-size: 1.3rem !important;
    color: var(--error-color) !important;
    margin: 0 !important;
}

.required-asterisk {
    color: var(--error-color);
    margin-left: 4px;
}

#submitServiceBtn {
    margin-top: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 24px;
    font-weight: bold;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#submitServiceBtn:hover {
    background-color: var(--secondary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#submitServiceBtn:active {
    background-color: var(--secondary-color-darker);
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-message {
    margin-top: 2rem;
    font-size: 1.4rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
}

@media (max-width: 768px) {
    .add-service-form {
        padding: 2rem;
    }

    .add-service-form h1 {
        font-size: 2.4rem;
    }

    .add-service-form p {
        font-size: 1.4rem;
    }

    .flex-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group label {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1.4rem;
    }

    #submitServiceBtn {
        width: 100%;
    }
}