* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background: #f3f8fb;
    overflow-x: hidden;
}

.dashboard-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.65), transparent 32%),
        linear-gradient(135deg, #e8f7f8 0%, #f7fbfd 48%, #eaf8f0 100%);
}

.topbar {
    width: 100%;
    padding: 18px 36px;
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.75);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-title {
    color: #0f6f8f;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.topbar-status {
    color: #4d6863;
    font-size: 13px;
    font-weight: 600;
}

.topbar-status i {
    color: #0f6f8f;
    margin-right: 6px;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
}

.welcome-card {
    width: 100%;
    max-width: 760px;
    background: rgba(255,255,255,0.96);
    border-radius: 32px;
    padding: 48px 42px;
    text-align: center;
    box-shadow: 0 28px 70px rgba(27, 70, 92, 0.14);
    border: 1px solid #d9e7ee;
    position: relative;
    overflow: hidden;
}

.welcome-card:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(22, 163, 166, 0.08);
    border-radius: 50%;
    top: -120px;
    right: -120px;
}

.logo-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 26px;
    padding: 24px 28px;
    display: inline-block;
    box-shadow: 0 16px 38px rgba(27, 70, 92, 0.10);
    border: 1px solid #d9e7ee;
}

.logo-card img {
    width: 420px;
    max-width: 100%;
    height: auto;
    display: block;
}

.loading-circle {
    width: 70px;
    height: 70px;
    border: 6px solid #dff2f5;
    border-top: 6px solid #16a3a6;
    border-radius: 50%;
    margin: 35px auto 20px;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #4d4248;
    font-size: 18px;
    font-weight: 700;
}

.loading-subtext {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}

.footer {
    width: 100%;
    padding: 18px 28px;
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.75);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer p {
    margin: 0;
    color: #5c5258;
    font-size: 13px;
}

.footer a {
    color: #0f6f8f;
    text-decoration: none;
    font-weight: 700;
}

.alert.fixed {
    position: fixed;
    right: 20px;
    top: 25px;
    width: 340px;
    text-align: center;
    z-index: 99999;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 768px) {
    .topbar {
        padding: 15px 18px;
    }

    .brand-title {
        font-size: 18px;
    }

    .topbar-status {
        font-size: 12px;
    }

    .main-content {
        padding: 28px 14px;
    }

    .welcome-card {
        padding: 32px 18px;
        border-radius: 24px;
    }

    .logo-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .logo-card img {
        max-width: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width: 576px) {
    .alert.fixed {
        width: calc(100% - 30px);
        right: 15px;
        left: 15px;
        top: 15px;
    }

    .brand-title {
        font-size: 16px;
    }

    .topbar-status {
        display: none;
    }

    .loading-text {
        font-size: 16px;
    }
}
