:root {
    --gap: 15px;
    --radius: 20px;
    --clr-main-bg: rgb(243, 255, 229);
    --clr-card: #fff;
    --clr-primary: #0e3a58;
    --clr-text: #2d3748;
    --clr-muted: #718096;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --clr-light: #f9fbfc;
    --clr-card: #ffffff;
    --clr-border: #e2e8f0;
    --clr-error: #e63946;
    --clr-success: #2a9d8f;
    --clr-warning: #e9c46a;
    --clr-hover: rgba(143, 189, 86, 0.15);
}

body {
    font-family: 'Public Sans', sans-serif;
    background: var(--clr-main-bg);
    color: var(--clr-text);
    height: auto;
}

/* Toast notifications */
.toast-container {
    z-index: 1100;
}

.toast {
    transition: opacity 0.3s ease;
    margin-bottom: 0.5rem;
}
.left-button{
    float: left;
    margin-left: 15px;
}

.left-button a{
    background-color: var(--clr-primary);
    color: #fff;
    width: 100px;
    height: 55px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 20px;
    padding-top: 15px;
}
.left-button a:hover{
    background-color: #0b324d;
    color: #fff;
    margin-left: 5px;
}


.auth-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--clr-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--clr-primary);
    font-weight: 600;
}

.auth-header p {
    color: var(--clr-muted);
}

.auth-logo {
    width: 80px;
    height: 80px;
    background: var(--clr-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.form-floating label {
    color: var(--clr-muted);
}

.form-control:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 0.25rem rgba(14, 58, 88, 0.25);
}

.btn-auth {
    background: var(--clr-primary);
    color: white;
    border: none;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
}

.btn-auth:hover {
    background: #0a2a3f;
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--clr-muted);
}

.auth-footer a {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 500;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--clr-muted);
}
.password-toggle-new {
    position: absolute;
    right: 10px;
    top: 32%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--clr-muted);
}
.password-strength {
    height: 5px;
    background: var(--clr-light);
    border-radius: 5px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0%;
    background: var(--clr-error);
    transition: width 0.3s;
}

.password-strength-text {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: var(--clr-muted);
}

.avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--clr-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--clr-border);
}

.avatar-upload-btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.avatar-upload-btn input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}