/* Password Reset Modal Styles */
#passwordResetModal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#passwordResetModal.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Simple Modal Styles */
#passwordResetModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#passwordResetModal .modal-dialog {
    pointer-events: auto;
}

#passwordResetModal.modal {
    pointer-events: none;
}

#passwordResetModal.modal.show {
    pointer-events: auto;
}

/* Simple Header */
#passwordResetModal .simple-header {
    background: #2d398e;
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

#passwordResetModal .simple-header .modal-title {
    color: white;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#passwordResetModal .simple-header .close {
    color: white;
    opacity: 0.8;
}

#passwordResetModal .simple-header .close:hover {
    opacity: 1;
}

/* Simple Form */
#passwordResetModal .form-group {
    margin-bottom: 20px;
}

#passwordResetModal .form-group label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#passwordResetModal .form-group label i {
    color: #2d398e;
}

#passwordResetModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

#passwordResetModal .form-control:focus {
    border-color: #2d398e;
    box-shadow: 0 0 0 0.2rem rgba(45, 57, 142, 0.25);
}

/* Fancy Info Box */
#passwordResetModal .fancy-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #2d398e;
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(45, 57, 142, 0.1);
    position: relative;
    overflow: hidden;
}

#passwordResetModal .fancy-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d398e 0%, #667eea 50%, #2d398e 100%);
}

#passwordResetModal .info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#passwordResetModal .info-icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2d398e 0%, #667eea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(45, 57, 142, 0.3);
}

#passwordResetModal .info-icon-wrapper i {
    color: white;
    font-size: 18px;
}

#passwordResetModal .info-title {
    color: #2d398e;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

#passwordResetModal .info-content p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

#passwordResetModal .info-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#passwordResetModal .info-badges .badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
}

#passwordResetModal .info-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#passwordResetModal .info-badges .badge-primary {
    background: linear-gradient(135deg, #2d398e 0%, #667eea 100%);
    color: white;
}

#passwordResetModal .info-badges .badge-info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

#passwordResetModal .info-badges .badge i {
    font-size: 12px;
}

/* Simple Footer */
#passwordResetModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 25px;
}

#passwordResetModal .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#passwordResetModal .btn:hover {
    transform: translateY(-1px);
}

#passwordResetModal .btn-primary {
    background: #2d398e;
    border-color: #2d398e;
}

#passwordResetModal .btn-primary:hover {
    background: #1e2a6b;
    border-color: #1e2a6b;
}

#passwordResetModal .btn i {
    margin-right: 8px;
}

#passwordResetModal .modal-content {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#passwordResetModal .modal-header {
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

#passwordResetModal .modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

#passwordResetModal .modal-body {
    padding: 25px;
}

#passwordResetModal .form-group {
    margin-bottom: 20px;
}

#passwordResetModal label {
    font-weight: 600;
    color: #2d398e;
    margin-bottom: 8px;
}

#passwordResetModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#passwordResetModal .form-control:focus {
    border-color: #2d398e;
    box-shadow: 0 0 0 0.2rem rgba(45, 57, 142, 0.25);
}

/* 정보 텍스트 스타일 */
#passwordResetModal .info-text {
    text-align: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
}

#passwordResetModal .info-text small {
    color: #6c757d;
    font-size: 13px;
}

#passwordResetModal .info-text .fa-info-circle {
    color: #17a2b8;
    margin-right: 5px;
}

#passwordResetModal .checkbox-label {
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
    color: #333;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    flex: 1;
}

#passwordResetModal .custom-control-label {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

#passwordResetModal .form-text {
    font-size: 12px;
    color: #888;
}

#passwordResetModal .alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

#passwordResetModal .alert-info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border-left: 4px solid #2196f3;
}

#passwordResetModal .alert-success {
    background-color: #e8f5e8;
    color: #1b5e20;
    border-left: 4px solid #4caf50;
}

#passwordResetModal .alert-danger {
    background-color: #ffebee;
    color: #b71c1c;
    border-left: 4px solid #f44336;
}

#passwordResetModal .modal-footer {
    border-top: none;
    padding: 20px 25px 25px;
}

#passwordResetModal .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#passwordResetModal .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#passwordResetModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
}

#passwordResetModal .btn-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: 0.6;
}

#passwordResetModal .btn-primary {
    background-color: #2d398e;
    border-color: #2d398e;
}

#passwordResetModal .btn-primary:hover {
    background-color: #1e2a6b;
    border-color: #1e2a6b;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* 페이지 성공 메시지 스타일 */
.page-success-message {
    animation: slideInRight 0.5s ease-out;
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

.page-success-message .fa-check-circle {
    margin-right: 8px;
    color: #28a745;
}

.page-success-message .close {
    font-size: 18px;
    opacity: 0.7;
}

.page-success-message .close:hover {
    opacity: 1;
}

/* 슬라이드 인 애니메이션 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #passwordResetModal .modal-dialog {
        margin: 10px;
    }
    
    #passwordResetModal .modal-body {
        padding: 20px;
    }
    
    #passwordResetModal .modal-footer {
        padding: 15px 20px 20px;
    }
    
    .page-success-message {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}
