/* Yardstock Vendor — Login Page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.yvd-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #061a12;
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animated background circles */
.yvd-login-bg { position: absolute; inset: 0; pointer-events: none; }
.yvd-login-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    animation: yvd-float 8s ease-in-out infinite;
}
.yvd-circle-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #1d9e75, transparent);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.yvd-circle-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #0f6e56, transparent);
    bottom: -80px; left: -80px;
    animation-delay: 3s;
}
.yvd-circle-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #1d9e75, transparent);
    top: 40%; left: 30%;
    animation-delay: 6s;
}
@keyframes yvd-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}

/* Card */
.yvd-login-card {
    position: relative; z-index: 2;
    width: 100%; max-width: 420px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 40px 36px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

/* Logo */
.yvd-login-logo {
    text-align: center;
    margin-bottom: 28px;
}
.yvd-login-logo img {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.yvd-login-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
}

/* Heading */
.yvd-login-heading {
    text-align: center;
    margin-bottom: 28px;
}
.yvd-login-heading h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.yvd-login-heading p {
    font-size: 13px;
    color: rgba(255,255,255,.45);
}

/* Fields */
.yvd-login-field {
    margin-bottom: 16px;
}
.yvd-login-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.yvd-login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.yvd-input-icon {
    position: absolute;
    left: 13px;
    color: rgba(255,255,255,.3);
    pointer-events: none;
    flex-shrink: 0;
}
.yvd-login-input-wrap input {
    width: 100%;
    padding: 11px 42px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    transition: border-color .15s, background .15s;
    outline: none;
}
.yvd-login-input-wrap input::placeholder { color: rgba(255,255,255,.25); }
.yvd-login-input-wrap input:focus {
    border-color: #1d9e75;
    background: rgba(29,158,117,.08);
    box-shadow: 0 0 0 3px rgba(29,158,117,.15);
}

/* Password toggle */
.yvd-pw-toggle {
    position: absolute;
    right: 13px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.3);
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color .15s;
}
.yvd-pw-toggle:hover { color: rgba(255,255,255,.7); }

/* Remember me */
.yvd-login-remember {
    margin-bottom: 20px;
}
.yvd-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    cursor: pointer;
}
.yvd-remember-label input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: #1d9e75;
    cursor: pointer;
}

/* Error */
.yvd-login-error {
    background: rgba(192,57,43,.15);
    border: 1px solid rgba(192,57,43,.4);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #e74c3c;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button */
.yvd-login-btn {
    width: 100%;
    padding: 13px 20px;
    background: #1d9e75;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .1s;
}
.yvd-login-btn:hover   { background: #0f6e56; }
.yvd-login-btn:active  { transform: scale(.98); }
.yvd-login-btn:disabled { opacity: .6; cursor: not-allowed; }

@keyframes yvd-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.yvd-btn-spinner { animation: yvd-spin .8s linear infinite; }

/* Footer */
.yvd-login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,.3);
}
.yvd-login-footer a {
    color: #1d9e75;
    text-decoration: none;
}
.yvd-login-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 480px) {
    .yvd-login-card { padding: 28px 20px; }
    .yvd-login-heading h1 { font-size: 20px; }
}
