
.login-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    background: var(--bg-card);
    max-width: 300px;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    margin-top: 20px;
}

.titre {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-bottom: 1rem;
}
.plins-app {
    color: var(--accent-red);
    font-weight: bold;
}

.field {
    position: relative;
    border-bottom: 2px solid #eae3dc;
    transition: border-color 0.25s ease;

    display: flex;
    align-items: center; 
}

.field:focus-within {
    border-bottom-color: #e701e3;
}


.field .icon {
    width: 32px;
    flex-shrink: 0;

    display: flex;
    align-items: center;     /* vertical */
    justify-content: center; /* horizontal */

    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.25s;
}

.field:focus-within .icon {
    color: #e701e3;
}

.field input {
    flex: 1;
    width: 100%;

    border: none;
    outline: none;
    background: transparent;

    padding: 0.6rem 0.3rem 0.6rem 0.5rem;
    margin: 0;

    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.field input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.toggle-password {
    width: 38px;
    height: 38px;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    color: var(--text-muted);
    cursor: pointer;
}

.toggle-password:hover,
.toggle-password:focus,
.toggle-password:active {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e701e3;
}

.forgot-link {
    text-align: right;
    margin: -0.8rem 0 1.8rem 0;
}

.forgot-link a {
    font-size: 0.8rem;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link a:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 0.8rem;
    background: #000000;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.btn-login:hover {
    background: #1f2f4a;
    color: white;
}

.btn-login:active {
    transform: scale(0.98);
}
.btn-login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-login:disabled:hover {
    background: #0b1a33;
    transform: none;
}

.signup-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.signup-row a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
}

.signup-row a:hover {
    text-decoration: underline;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
}

.invalid-feedback {
    display: block;
    min-height: 18px;
    height: 18px;
    font-size: 0.8rem;
    line-height: 18px;
    color: var(--accent-red);

}

.form-check-label {
    color: var(--text-muted)!important;
}
.form-check-label a {
    color: var(--accent-blue) !important;
}