﻿
:root {
    --brand: var(--brand-red);
    --brand-dark: var(--brand-red-dark);
    --brand-light: #C75F58;
    --ink: #1b1f2a;
    --muted: #6b7280;
    --bg: #f4f5f9;
    --card: #ffffff;
    --line: #e8e9f0;
    --success: #16a34a;
    --danger: #dc2626;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 6px 24px rgba(20, 20, 50, .05);
    --shadow-lift: 0 10px 30px rgba(20, 20, 50, .09);
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 14px;
    z-index: 2;
}
.show-pass {
    position: absolute;
    top: 11px;
    right: 16px;
    z-index: 1111;
    cursor:pointer;
}
.strength-bar {
    height: 3px;
    margin-top: 6px;
    border-radius: 4px;
    background: #e0e0e0;
    overflow: hidden;
    transition:0.5s;
}


.strength-fill {
    height: 100%;
    width: 0;
    transition: .3s;
    transition: 0.5s;
}

.message {
    margin-top: 3px;
    font-size: 10px;
}
.strhide{
    background:transparent;
}
.invalid-feedback {
    display: none;
    color: var(--danger);
    font-size: .76rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--danger);
    background: #fef2f2;
}
.input-icon-wrapper:has(.is-invalid) .invalid-feedback {
    position:absolute;
    top:45px;
    display: block;
}

