﻿/*<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet"/ >*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
:root {
    --primary-color: #6366f1; /* Modern Indigo */
    --text-main: #1f2937;
    --text-muted: #6b7280;
}

.msgmodal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5); /* Soft dark blue tint */
    backdrop-filter: blur(4px); /* Modern blur effect */
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

.msgmodal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px; /* Rounded corners */
    width: 90%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9) translateY(-30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy entrance */
    position: relative;
}

/* Animation State */
.msgmodal-overlay.show {
    display: block;
    opacity: 1;
}

    .msgmodal-overlay.show .msgmodal-content {
        transform: scale(1) translateY(0);
    }

/* Typography & Buttons */
.msgmodal-body h2 {
    font-weight: 600;
    color: var(--text-main);
    font-size: 24px;
    margin-bottom: 12px;
}

.msgmodal-body p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
}

.btn-link {
    display: block;
    text-decoration:none !important;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 25px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

    .btn-link:hover {
        background-color: #4f46e5;
        transform: translateY(-2px);
    }

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.2s;
}

    .close-button:hover {
        color: #4b5563;
    }

