/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

.icon-align {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    background: #0066cc;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #005bb5;
}

.footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

.footer a {
    color: #0066cc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Success message container */
.success {
    display: flex;
    align-items: center;
    background-color: #f0fff4;    /* very light green */
    color: #2e7d32;               /* accessible dark green */
    border: 1px solid #c8e6c9;    /* pale green border */
    padding: 0.75rem 1rem;         /* comfortable padding */
    border-radius: 0.5rem;         /* soft corners */
    font-size: 0.95rem;            /* slightly smaller than body copy */
    margin-bottom: 1.5rem;         /* space before the form fields */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  /* Icon inside the success */
  .success-icon {
    font-size: 1.25rem;        /* a bit bigger than the text */
    margin-right: 0.5rem;      /* space between icon and message */
    color: #2e7d32;            /* same green as the text */
    flex-shrink: 0;
  }
  

/* Error message container */
.error {
    display: flex;
    align-items: center;
    background-color: #fff0f0;    /* very light red/pink */
    color: #b00020;               /* strong, accessible red */
    border: 1px solid #f5c2c7;    /* pale red border */
    padding: 0.75rem 1rem;         /* comfortable padding */
    border-radius: 0.5rem;         /* soft corners */
    font-size: 0.95rem;            /* slightly smaller than body copy */
    margin-bottom: 1.5rem;         /* space before the form fields */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  /* Icon inside the error */
  .error-icon {
    font-size: 1.25rem;        /* a bit bigger than the text */
    margin-right: 0.5rem;      /* space between icon and message */
    color: #b00020;            /* same red as the text */
    flex-shrink: 0;
  }  