/* login.css */

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply a light background color */
body {
    background-color: #0b1020;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container for the login form */
.login-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Title of the page */
h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

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

.input-group label {
    font-size: 14px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Button styling */
.login-button {
    width: 100%;
    padding: 12px;
    margin: 5px;
    border: none;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #45a049;
}

.cancel-button {
    width: 100%;
    padding: 12px;
    margin: 5px;
    border: 1px solid #bbb;
    background-color: #f3f3f3;
    color: #333;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-button:hover {
    background-color: #e7e7e7;
}

.login-actions,
.signup-prompt {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    font-size: 0.9rem;
}

.link-button {
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    padding: 0;
}

.link-button:hover {
    text-decoration: underline;
}

.signup-button {
    background: none;
    border: none;
    color: #0d6efd;
    font-weight: 600;
    cursor: pointer;
}

.signup-button:hover {
    text-decoration: underline;
}

/* Error message styling */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    visibility: hidden;
}

.error-message.is-visible {
    visibility: visible;
}

/* Responsive styling for mobile */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
        width: 90%;
    }

    h1 {
        font-size: 20px;
    }
}

.login-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
}

.login-footer p {
    margin: 0;
}
/*/////////////////////////////////////*/
