/* ============================================
   CONTACT POPUP STYLES
   ============================================ */

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* Popup Container */
.contact-popup {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .contact-popup {
    transform: scale(1);
}

/* Form Title */
.contact-form-title {
    font-size: 20px;
    font-weight: var(--font-semibold);
    color: #606060;
    text-align: center;
    margin-bottom: 30px;
}

/* Form Fields */
.contact-form-field {
    margin-bottom: 20px;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    height: 32px;
    border: 1px solid var(--pink);
    border-radius: 50px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: var(--font-regular);
    color: var(--black);
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-input::placeholder,
.contact-select::placeholder,
.contact-textarea::placeholder {
    color: #B8B8B8;
    font-size: 14px;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: #b8396a;
}

/* Select Dropdown */
.contact-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23D04278' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
    color: var(--black);
}

.contact-select option {
    color: var(--black);
}

/* Textarea */
.contact-textarea {
    height: 131px;
    border-radius: 20px;
    padding: 15px 20px;
    resize: none;
    font-family: inherit;
}

/* Checkbox Container */
.contact-checkbox-container {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--pink);
    border-radius: 3px;
    cursor: pointer;
    accent-color: var(--pink);
    margin-top: 2px;
}

.contact-checkbox-label {
    font-size: 16px;
    font-weight: var(--font-regular);
    color: var(--black);
    cursor: pointer;
    line-height: 1.4;
}

.contact-checkbox-label .terms-link {
    color: var(--pink);
    text-decoration: none;
    font-weight: var(--font-regular);
}

.contact-checkbox-label .terms-link:hover {
    text-decoration: underline;
}

/* Buttons Container */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.contact-btn {
    width: 82px;
    height: 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--pink);
    outline: none;
}

.contact-btn-submit {
    background-color: var(--pink);
    color: var(--white);
}

.contact-btn-submit:hover {
    background-color: #b8396a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 66, 120, 0.3);
}

.contact-btn-close {
    background-color: var(--white);
    color: #B8B8B8;
}

.contact-btn-close:hover {
    background-color: #f5f5f5;
    color: #606060;
}

/* Custom Scrollbar */
.contact-popup::-webkit-scrollbar {
    width: 6px;
}

.contact-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.contact-popup::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 3px;
}

.contact-popup::-webkit-scrollbar-thumb:hover {
    background: #b8396a;
}