    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", sans-serif;
    }

    body {
        background: linear-gradient(135deg, #0a0f24, #1e3a8a, #2563eb, #3b82f6);
        background-size: 300% 300%;
        animation: gradientShift 10s ease infinite;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
        color: #fff;
    }

    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* --- Home icon (top-left corner) --- */
    .home-link {
        position: absolute;
        top: 20px;
        left: 20px;
        color: #00bfff !important;
        font-size: 1.5rem;
        text-decoration: none;
        transition: 0.3s ease;
          z-index: 10; /* ✨ ensures it's visible above container elements */

    }

    .home-link:hover {
        color: #66e0ff;
        transform: scale(1.1);
    }

    .login-container {
        position: relative;
    }

    .login-container {
        background: rgba(15, 23, 42, 0.92);
        padding: 45px 40px;
        border-radius: 16px;
        width: 100%;
        max-width: 420px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        animation: fadeUp 0.6s ease;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .login-container h1 {
        font-size: 2rem;
        margin-bottom: 6px;
        background: linear-gradient(to right, #60a5fa, #2563eb, #1d4ed8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .login-container p {
        font-size: 0.96rem;
        color: #cbd5e1;
        margin-bottom: 30px;
    }

    .form-group {
        margin-bottom: 22px;
        text-align: left;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 6px;
        display: block;
        color: #e5e7eb;
    }

    input {
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        border: none;
        background: #1e293b;
        color: #f8fafc;
        font-size: 0.95rem;
        transition: 0.25s;
    }

    input:focus {
        background: #334155;
        outline: none;
        box-shadow: 0 0 0 2px #2563eb;
    }

    .back-btn{
        color: white;
        text-decoration: none;
    }
    .back-btn:hover{
        text-decoration: underline;
    }

    .btn {
        width: 100%;
        padding: 14px;
        border-radius: 8px;
        border: none;
        font-weight: bold;
        background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
        cursor: pointer;
        transition: 0.25s ease-in-out;
        font-size: 1rem;
        color: white;
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5);
    }

    .extra-links {
        margin-top: 18px;
        font-size: 0.85rem;
        color: #94a3b8;
    }

    .extra-links a {
        color: #60a5fa;
        text-decoration: none;
        font-weight: 500;
    }

    .extra-links a:hover {
        text-decoration: underline;
    }

    @media(max-width: 480px) {
        .login-container {
            padding: 35px 25px;
        }

        .login-container h1 {
            font-size: 1.7rem;
        }
    }

    .message-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        position: relative;
        margin: 10px 0;
        padding: 14px 18px;
        border-radius: 10px;
        font-size: 15px;
        transition: opacity 0.3s ease, transform 0.3s ease;
        word-wrap: break-word;
        flex-wrap: wrap;
    }

    /* Message types */
    .message-success {
        background: #d4edda;
        color: #155724;
    }

    .message-error {
        background: #f8d7da;
        color: #721c24;
    }

    .message-warning {
        background: #fff3cd;
        color: #856404;
    }

    .message-info {
        background: #d1ecf1;
        color: #0c5460;
    }

    .message-text {
        flex: 1;
        min-width: 0;
    }

    /* Close button styling */
    .message-close {
        background: transparent;
        color: black;
        border: none;
        border-radius: 6px;
        width: 25px;
        height: 25px;
        font-size: 25px;
        cursor: pointer;
        line-height: 22px;
        text-align: center;
        flex-shrink: 0;
        transition: background 0.3s ease, transform 0.2s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    @keyframes slideIn {
        from {
            transform: translateY(-8px);
        }

        to {
            transform: translateY(0);
        }
    }