/* Body styling */

.login-header{
    padding: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:  var(--greenDark);
}

.main-grid {
    display:grid;
    width: 90vw;
    margin: 0 auto;
    max-width: 1000px;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    grid-column-gap: 1.5rem;
    justify-content: center;
    align-items: center;
    /*grid-row-gap: 2rem;*/
    /*background-color: red;*/
    
  }

  .grid-item{
    margin: auto;
    /*background-color: red;*/
    text-align: center;
  }

/* Login container */
.login-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Heading */
.login-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Form group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Label */
.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

/* Input fields */
.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Input focus */
.form-group input:focus {
    border-color: var(--greenDark);
}

/* Button */
button {
    width: 100%;
    padding: 10px;
    background-color: var(--greenDark);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--greenLight);
}

/* Error message */
#errorMessage {
    margin-top: 10px;
    font-size: 14px;
}

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

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

    button {
        font-size: 14px;
    }
}
