/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #4F4F4F;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px; /* Add padding for better mobile spacing */
    overflow-y: auto; /* Enable vertical scrolling */
}

/* Centering the Login Container */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Login Box Header */
h2 {
    margin-bottom: 20px;
    color: #333333;
}



/* Input Group Styles */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

    .input-group label {
        display: block;
        font-size: 14px;
        color: #333333;
        margin-bottom: 5px;
    }

    .input-group input {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #cccccc;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.3s;
    }

        .input-group input:focus {
            border-color: #007bff;
        }

/* Button Styles */
.btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    .btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px); /* Float effect */
    }

    .btn:active {
        background-color: #004080;
        transform: translateY(0); /* Reset float on click */
    }

/* Blue Button Variant */
.btn-blue {
    background-color: #007bff;
}

    .btn-blue:hover {
        background-color: #0056b3;
    }

/* Floating Box Style */
.floating-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

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

    .btn {
        padding: 10px;
    }
}

.custom-text {
    margin-top: 20px;
    text-align: center;
}

.brand-name {
    font-size: 22px;
    font-weight: bold;
    color: #007bff; /* Blue color */
    letter-spacing: 1.2px;
    margin-bottom: 5px;
}

.app-description {
    font-size: 16px;
    color: #333333;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* General container styling for mobile */
.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: auto;
    text-align: center;
    overflow-y: auto; /* Ensure container can scroll if needed */
}

/* Mobile dashboard button container */
.mobile-dashboard {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Add space between buttons */
}

/* Adjust button sizes for easier mobile use */
.btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-blue {
    background-color: #007bff;
    color: #ffffff;
}

    .btn-blue:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }
.success-message {
    color: green;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid green;
    border-radius: 5px;
    background-color: #e6ffe6;
}

.error-message {
    display: block; /* Ensure it's always visible */
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
    padding: 10px;
    border: 1px solid #f5c6cb; /* Border in a matching red shade */
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center; /* Center the text if desired */
}
