/* AlMindhar Migration Modal Styles */

.amn-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    animation: amnFadeIn 0.3s ease;
}

@keyframes amnFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.amn-modal.amn-show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.amn-modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: amnSlideIn 0.4s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@keyframes amnSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.amn-modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #004272 0%, #0066b3 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amn-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: white;
    flex: 1;
}

.amn-modal-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-left: 15px;
}

.amn-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.amn-modal-close svg {
    width: 24px;
    height: 24px;
}

.amn-modal-body {
    padding: 30px;
}

.amn-modal-message {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.amn-modal-message p {
    margin: 0 0 15px 0;
}

.amn-modal-message strong {
    color: #004272;
    font-weight: 600;
}

.amn-modal-message ul {
    margin: 10px 0;
    padding-left: 20px;
}

.amn-modal-message li {
    margin-bottom: 8px;
}

.amn-contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #004272;
}

.amn-contact-info h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #004272;
    font-weight: 600;
}

.amn-contact-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #555;
}

.amn-contact-info p:last-child {
    margin-bottom: 0;
}

.amn-contact-info a {
    color: #004272;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.amn-contact-info a:hover {
    color: #0066b3;
    text-decoration: underline;
}

.amn-modal-actions {
    text-align: center;
    margin-top: 25px;
}

.amn-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.amn-btn-primary {
    background: linear-gradient(135deg, #004272 0%, #0066b3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 66, 114, 0.3);
}

.amn-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 66, 114, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .amn-modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .amn-modal-header {
        padding: 20px;
    }
    
    .amn-modal-header h2 {
        font-size: 20px;
    }
    
    .amn-modal-body {
        padding: 20px;
    }
    
    .amn-modal-message {
        font-size: 14px;
    }
    
    .amn-contact-info {
        padding: 15px;
    }
    
    .amn-btn {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .amn-modal-header {
        padding: 15px;
    }
    
    .amn-modal-header h2 {
        font-size: 18px;
    }
    
    .amn-modal-body {
        padding: 15px;
    }
    
    .amn-modal-message {
        font-size: 13px;
    }
}
