/* 고급스러운 팝업 폼 스타일 */
.popup-form-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
}

.popup-form-overlay.show {
    display: flex !important;
}

.popup-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
    width: 480px !important;
    max-width: 90% !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    padding: 40px !important;
    position: relative !important;
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    z-index: 1000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

.popup-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.popup-close-button {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 18px;
    font-weight: 600;
}

.popup-close-button:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    transform: scale(1.05) !important;
}

.popup-form-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.popup-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-form-input-group {
    position: relative;
}

.popup-form-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.popup-form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1f2937;
    font-weight: 500;
}

.popup-form-input:focus {
    border-color: #00BF73 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 115, 0.1) !important;
    transform: translateY(-1px) !important;
}

.popup-form-privacy {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.popup-form-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.popup-form-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #00BF73;
    cursor: pointer;
}

.popup-form-privacy a {
    color: #00BF73;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.popup-form-privacy a:hover {
    border-bottom-color: #00BF73 !important;
}

.popup-form-button {
    background: linear-gradient(135deg, #00BF73, #00a864);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 191, 115, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
}

.popup-form-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(0, 191, 115, 0.4) !important;
}

.popup-form-button span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-form-button div {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.popup-form-button:hover div {
    left: 100% !important;
}

.popup-contact-options {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.popup-contact-options p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    font-weight: 500;
}

.popup-contact-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.popup-contact-icons .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popup-contact-icons .phone-icon {
    background: linear-gradient(135deg, #00BF73, #00a864);
    box-shadow: 0 8px 16px rgba(0, 191, 115, 0.3);
    color: white;
}

.popup-contact-icons .kakao-icon {
    background: linear-gradient(135deg, #FEE500, #FFEB3B);
    box-shadow: 0 8px 16px rgba(254, 229, 0, 0.3);
}

.contact-icon:hover {
    transform: translateY(-3px) scale(1.05) !important;
}

.contact-icon div {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-icon:hover div {
    opacity: 1 !important;
}

.popup-contact-icons .phone-icon i {
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.popup-contact-icons .kakao-pictogram {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .popup-form-container {
        width: 95% !important;
        padding: 32px 24px !important;
        margin: 20px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
    
    .popup-form-title {
        font-size: 20px !important;
    }
    
    .popup-form-button {
        font-size: 16px !important;
        padding: 16px 20px !important;
    }
    
    .popup-contact-icons {
        gap: 12px !important;
    }
    
    .popup-contact-icons .contact-icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .popup-contact-icons .phone-icon i {
        font-size: 18px !important;
    }
    
    .popup-contact-icons .kakao-pictogram {
        width: 24px !important;
        height: 24px !important;
    }
}
