/* Container for registration and login forms */

.login-register-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

/* Titles for the forms */
.login-register-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

/* Form styles */
.login-register-form {
    width: 100%;
}

.login-register-form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.login-register-label {
    width: 30%;
    text-align: left;
    font-weight: bold;
    color: #555;
}

.login-register-input {
    width: 65%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.2s ease;
}

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

/* Button styles */
.login-register-button {
    width: 100%;
    padding: 10px;
    background-color: burlywood;
    border: none;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.login-register-button:hover {
    background-color: rgb(103, 85, 61);
}

/* Links and additional actions */
.login-register-extra {
    margin-top: 20px;
    color: #333;
}

.login-register-link {
    color: rgb(36, 126, 211);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-register-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.guest-link {
    color: rgb(36, 126, 211);
    text-decoration: none;
    transition: color 0.3s ease;
}

.guest-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Error messages */
.login-register-error {
    color: red;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-register-container {
        padding: 15px;
        width: 90%;
    }
    
    .login-register-form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .login-register-label, 
    .login-register-input {
        width: 100%;
    }
    
    .login-register-button {
        width: 100%;
    }
}
