@font-face {
    font-family: Nunito-Bold;
    src: url(../fonts/Nunito/static/Nunito-Bold.ttf);
}
@font-face {
    font-family: Nunito-Medium;
    src: url(../fonts/Nunito/static/Nunito-Medium.ttf);
}
.error{
    color:#ff0000;
    padding: 5px ;
    margin: 5px;
    font-weight: 500;
    font-family: var(--font-nunito-medium);
}

/* -- Font variables: edit these to change fonts site-wide -- */
:root {
    --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-nunito-bold: 'Nunito-Bold', var(--font-sans);
    --font-nunito-medium: 'Nunito-Medium', var(--font-sans);
    --font-nunito-regular: 'Nunito-Regular', var(--font-sans);
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}
/* Login Container */
.login-container {
    height: auto;
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
   
}

/* Login Form */
.login-form {
    padding: 20px;
}

.login-header {
    text-align: center;
}

.login-header h1 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 800;
    font-family: var(--font-nunito-bold);
}

.login-header p {
    color: #636e72;
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--font-nunito-medium);
    margin-bottom: 15px;
}

/* Form Groups */
.form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3436;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: var(--font-nunito-bold);
}

.form-group .input-with-icon {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 10px 45px;
    border: none;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background-color: #eeeeeeea;
    color: #000000;
    font-family: var(--font-nunito-bold);
    outline: none ;
    text-indent: 15px;
}

.form-group .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
    font-size: 1.1rem;
    z-index: 1;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #636e72;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 2;
    padding: 5px;
}

/* Submit Button */
.submit-btn {
    width: 60%;
    display: block;
    margin: auto;
    padding: 10px;
    background: rgb(0, 128, 255);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: Nunito-Bold;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(31, 31, 31, 0.167);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Signup Section */
.signup-section {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #dfe6e9b6;
    font-size: 1rem;
    padding: 10px;
}

.signup-section p {
    color: #636e72;
    margin-bottom: 10px;
    font-family: var(--font-nunito-medium);
}

.signup-link {
    color: #006eff;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-nunito-bold);
}

/* Forgot Password */
.forgot-password {
    text-align: right;
    font-family: var(--font-nunito-medium);
    margin: 5px;
}

.forgot-link {
    color: #006aff;
    text-decoration: underline;
    font-size: x-small;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
}


/* Remove default browser outline on mouse focus; show custom ring for keyboard users */
.login-form input:focus:not(:focus-visible),
.login-form button:focus:not(:focus-visible),
.login-form .password-toggle:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.login-form input:focus-visible,
.login-form button:focus-visible,
.login-form .password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
  border-color: #3498db;
}


