
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #89c6fc 0%, #4aabfa 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
   .form-group {
            margin-bottom: 1.1rem;
            text-align: left;
        }

        .form-group label {
            display: block;
            font-size: .73rem;
            font-weight: 600;
            letter-spacing: .09em;
            text-transform: uppercase;
            color: #1a2e3b;
            opacity: .6;
            margin-bottom: .4rem;
        }

        .form-group input {
            width: 100%;
            padding: .82rem 1.1rem;
            border: 1.5px solid rgba(62,168,216,.3);
            border-radius: 12px;
            font-family: inherit;
            font-size: .95rem;
            color: #1a2e3b;
            background: #f4fafd;
            outline: none;
            transition: border-color .2s, background .2s, box-shadow .2s;
            -webkit-appearance: none;
            appearance: none;
        }

        .form-group input:focus {
            border-color: #3ea8d8;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(62,168,216,.15);
        }

        .form-group input::placeholder {
            color: #aacfe0;
            font-size: .88rem;
        }
        .btn-login {
            width: 100%;
            margin-top: .5rem;
            padding: 1rem 1.3rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(135deg, #2189b8 0%, #3ea8d8 100%);
            border: none;
            border-radius: 12px;
            color: #ffffff;
            font-family: inherit;
            font-size: .82rem;
            font-weight: 700;
            letter-spacing: .13em;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(33,137,184,.32);
            transition: transform .18s, box-shadow .18s;
            position: relative;
            overflow: hidden;
            -webkit-appearance: none;
            appearance: none;
        }

        .btn-login::before {
            content: '→';
            position: absolute;
            right: 1.3rem;
            color: rgba(255,255,255,.75);
            font-size: 1.15rem;
            transition: transform .2s;
        }

        .btn-login::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,.13), transparent);
            opacity: 0;
            transition: opacity .2s;
        }

        .btn-login:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(33,137,184,.42); }
        .btn-login:hover::after { opacity: 1; }
        .btn-login:hover::before { transform: translateX(4px); }
        .btn-login:active { transform: translateY(0); }

        .back-link {
            display: block;
            text-align: center;
            margin-top: 1rem;
            font-size: .83rem;
            color: #7fafc4;
            text-decoration: none;
            font-weight: 500;
            transition: color .2s;
        }
        .back-link:hover { color: #2189b8; }


.bg-decoration {
    position: absolute;
    font-size: 80px;
    opacity: 0.08;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    top: 60%;
    right: 10%;
    font-size: 70px;
    animation-delay: 2s;
}

.decoration-3 {
    bottom: 15%;
    left: 15%;
    font-size: 65px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}


.container {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.logo-section {
    margin-bottom: 25px;
}

.logo-icon {
    font-size: 55px;
    margin-bottom: 8px;
    animation: rotate 4s ease-in-out infinite;
}
img{
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0066cc, #00bfff);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5);
    justify-content: center;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
    border: 4px solid white;
    font-size: 50px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

.logo-section h1 {
    color: #1e88e5;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #42a5f5;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.welcome-section {
    margin-bottom: 25px;
}

.welcome-section h2 {
    color: #333;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.welcome-section p {
    color: #777;
    font-size: 14px;
}


.role-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.role-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 3px 12px rgba(30, 136, 229, 0.15);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s ease;
}

.role-card:hover::before {
    left: 100%;
}

.role-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.25);
}

.card-icon {
    font-size: 32px;
    flex-shrink: 0;
}


.card-content {
    flex-grow: 1;
    text-align: left;
    margin-left: 15px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* Card Arrow */
.card-arrow {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.role-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Role Card Colors - Softer Blue Tones */
.staff {
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
}

.staff:hover {
    background: linear-gradient(135deg, #64b5f6 0%, #2196f3 100%);
}

.cashier {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.cashier:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.admin {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.admin:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}


.footer {
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.footer p {
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}


@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
        max-width: 400px;
    }

    .logo-icon {
        font-size: 50px;
    }

    .logo-section h1 {
        font-size: 34px;
    }

    .subtitle {
        font-size: 13px;
    }

    .welcome-section h2 {
        font-size: 20px;
    }

    .role-card {
        padding: 15px 18px;
    }

    .card-icon {
        font-size: 30px;
    }

    .card-content h3 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 25px 20px;
        border-radius: 18px;
        max-width: 350px;
    }

    .logo-icon {
        font-size: 45px;
    }

    .logo-section h1 {
        font-size: 30px;
    }

    .subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .welcome-section h2 {
        font-size: 18px;
    }

    .welcome-section p {
        font-size: 13px;
    }

    .role-buttons {
        gap: 10px;
    }

    .role-card {
        padding: 14px 16px;
    }

    .card-icon {
        font-size: 28px;
    }

    .card-content {
        margin-left: 12px;
    }

    .card-content h3 {
        font-size: 16px;
    }

    .card-content p {
        font-size: 11px;
    }

    .card-arrow {
        font-size: 18px;
    }

    .footer p {
        font-size: 11px;
    }

    .bg-decoration {
        font-size: 50px;
    }
}