body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background-image: url("https://res.cloudinary.com/diehyknwd/image/upload/v1743899104/background_mik1ak.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.login-container, .dashboard {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
    z-index: 1;
}

h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #218838;
}

.error-message {
    color: red;
    margin-top: 10px;
}

.dashboard button {
    background-color: #007bff;
    margin: 10px 0;
}

.dashboard button:hover {
    background-color: #0056b3;
}

/* MOBILE STYLES */
@media (max-width: 600px) {
    body {
        background-image: url("https://res.cloudinary.com/diehyknwd/image/upload/v1743899655/phone_lhvrtb.png");
        background-position: center center;
        background-size: cover;
        padding: 1rem;
        height: auto;
        min-height: 100vh;
        flex-direction: column;
    }

    .login-container, .dashboard {
        width: 100%;
        max-width: 90%;
        padding: 15px;
    }

    h2 {
        font-size: 1.4rem;
    }

    input {
        padding: 6px;
        font-size: 1rem;
    }

    button {
        padding: 8px;
        font-size: 14px;
    }

    label {
        font-size: 0.95rem;
    }
}