body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4e73df, #1e2a47);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    flex-direction: column;
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%; 
    margin-bottom: 20px; 
    object-fit: cover;
}

.login-container {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    text-align: left;
}

@media (max-width: 600px) {
    .login-container {
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 40px;
        max-width: 90%; 
        width: 90%;
        box-sizing: border-box;
        color: #333;
        text-align: left;
        margin: 0 auto; 
    }
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 14px;
    color: #4e73df;
    margin-top: 2px;
}

.login-container span {
    margin-bottom: 0; 
    padding-bottom: 0; 
    font-size: 24px;
    font-weight: 700;
    color: #4e73df;
}

.input-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #555;
}

.input-field input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}

.input-field input:focus {
    border-color: #4e73df;
}

.login-button {
    background: #4e73df;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background: #2e59d9;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #4e73df;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Admin / Cashier Links */
.role-select {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.role-select a {
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    background-color: #4e73df; /* Updated button color */
    border-radius: 6px;
    margin: 0 10px;
    font-size: 14px;
    transition: background-color 0.3s;
    white-space: nowrap; /* Prevent text wrapping */
    display: flex;
    align-items: center;
}

.role-select a:hover {
    background-color: #2e59d9;
}

.role-select .icon {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }

    .login-container h2 {
        font-size: 20px;
    }

    .role-select {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .role-select a {
        padding: 12px 20px;
        font-size: 16px;
    }
}

