* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Poppins', sans-serif;

    min-height: 100vh;

    background:
        linear-gradient(rgba(10, 25, 47, 0.88), rgba(17, 34, 64, 0.92)),
        url('../images/pattern-bg.png');

    background-size: cover;
    background-position: center;

    overflow-x: hidden;
}

.dashboard-wrapper {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}

.topbar {

    width: 100%;

    padding: 18px 35px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.brand-title {

    color: #fff;

    font-size: 22px;

    font-weight: 600;

    letter-spacing: 0.5px;
}

.main-content {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;
}

.welcome-card {

    width: 100%;

    max-width: 750px;

    background: #ffffff;

    border-radius: 30px;

    padding: 50px 40px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);

    position: relative;

    overflow: hidden;
}

.welcome-card::before {

    content: '';

    position: absolute;

    width: 250px;

    height: 250px;

    background: rgba(37, 99, 235, 0.05);

    border-radius: 50%;

    top: -120px;

    right: -120px;
}

.logo-box {

    position: relative;

    z-index: 1;
}

.logo-box img {

    width: 100%;

    max-width: 380px;
}

.loading-circle {

    width: 70px;

    height: 70px;

    border: 6px solid #e5e7eb;

    border-top: 6px solid #2563eb;

    border-radius: 50%;

    margin: 35px auto 20px;

    animation: spin 1s linear infinite;
}

.loading-text {

    color: #374151;

    font-size: 18px;

    font-weight: 600;
}

.loading-subtext {

    margin-top: 10px;

    color: #6b7280;

    font-size: 14px;
}

.footer {

    width: 100%;

    padding: 18px 25px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.footer p {

    margin: 0;

    color: rgba(255,255,255,0.80);

    font-size: 13px;
}

.footer a {

    color: #7dd3fc;

    text-decoration: none;

    font-weight: 600;
}

.footer a:hover {

    text-decoration: underline;
}

.alert.fixed {

    position: fixed;

    right: 20px;

    top: 30px;

    width: 320px;

    text-align: center;

    z-index: 99999;

    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    animation: slideInRight 0.4s ease;
}

@keyframes spin {

    100% {

        transform: rotate(360deg);
    }
}

@keyframes slideInRight {

    from {

        opacity: 0;

        transform: translateX(100%);
    }

    to {

        opacity: 1;

        transform: translateX(0);
    }
}

@media(max-width: 768px) {

    .topbar {

        padding: 15px 20px;
    }

    .brand-title {

        font-size: 18px;
    }

    .welcome-card {

        padding: 35px 20px;

        border-radius: 24px;
    }

    .logo-box img {

        max-width: 260px;
    }

    .footer-content {

        flex-direction: column;

        text-align: center;
    }
}

@media(max-width: 576px) {

    .alert.fixed {

        width: calc(100% - 30px);

        right: 15px;

        left: 15px;

        top: 15px;
    }

    .loading-text {

        font-size: 16px;
    }
}