/* Racold Digital Organization — light login / forgot-password */

:root {
    --racold-primary: #2563EB;
    --racold-primary-dark: #1D4ED8;
    --racold-primary-light: #DBEAFE;
    --racold-purple: #4F46E5;
    --racold-purple-light: #EDE9FE;
    --racold-background: #F6F9FF;
    --racold-surface: #FFFFFF;
    --racold-text: #172033;
    --racold-text-secondary: #64748B;
    --racold-border: #D9E2F0;
    --racold-success: #16A34A;
    --racold-warning: #D97706;
    --racold-danger: #DC2626;
    --racold-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);

    --primary: var(--racold-primary);
    --primary-hover: var(--racold-primary-dark);
    --primary-soft: #EFF6FF;
    --success: var(--racold-success);
    --warning: var(--racold-warning);
    --danger: var(--racold-danger);
    --bg: var(--racold-background);
    --surface: var(--racold-surface);
    --border: #E2E8F0;
    --text: var(--racold-text);
    --text-muted: var(--racold-text-secondary);
    --radius: 12px;
    --ease: 200ms ease;
    --control-border: #CBD5E1;

    --racold-primary-hover: #1D4ED8;
    --racold-navy: #172033;
    --racold-muted: #64748B;
    --racold-focus: rgba(37, 99, 235, 0.12);
}

.rp-login-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.06), transparent 35%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 35%),
        linear-gradient(135deg, #F8FAFF 0%, #F3F6FF 45%, #F8F5FF 100%);
    overflow-x: hidden;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    color: var(--racold-text);
    color-scheme: light;
}

.rp-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 64px;
}

.rp-stage-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rp-stage-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.06), transparent 35%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 35%),
        linear-gradient(135deg, #F8FAFF 0%, #F3F6FF 45%, #F8F5FF 100%);
}

.rp-grid {
    display: none;
}

.rp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.35;
    pointer-events: none;
}

.rp-orb-a {
    width: 220px;
    height: 220px;
    left: -60px;
    top: 12%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 70%);
}

.rp-orb-b {
    width: 180px;
    height: 180px;
    right: 4%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
}

.rp-orb-c {
    display: none;
}

.rp-shell {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    background: var(--racold-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
    animation: rp-rise 240ms ease both;
}

.rp-shell-row {
    min-height: 580px;
}

.rp-brand {
    position: relative;
    min-height: 580px;
    color: var(--text);
    background: #F8FAFC;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

/* Shubham 'Show loginbg.jpg as full left-panel artwork' */
.rp-brand-photo {
    position: absolute;
    inset: 0;
    background: url("../images/Latest/3X4inch.jpg") center / cover no-repeat;
}

.rp-brand-wash,
.rp-ripple,
.rp-brand-inner {
    display: none;
}
/* Shubham 'Show loginbg.jpg as full left-panel artwork' */

.rp-ripple {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -80px;
    bottom: -70px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 50%;
    animation: rp-ripple 8s ease-out infinite;
}

.rp-ripple::before,
.rp-ripple::after {
    content: "";
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    animation: rp-ripple 8s ease-out infinite 1.4s;
}

.rp-ripple::after {
    inset: 90px;
    animation-delay: 2.8s;
}

.rp-brand-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    padding: 36px 36px 28px;
}

.rp-logo-light {
    height: 40px;
    width: auto;
    animation: rp-fade-down 220ms ease both;
}

.rp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    border: 1px solid #BFDBFE;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    width: fit-content;
    font-weight: 700;
    animation: rp-fade-up 240ms 40ms ease both;
}

.rp-kicker i {
    color: var(--primary);
}

.rp-brand-title {
    margin: 14px 0 8px;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--text);
    animation: rp-fade-up 240ms 80ms ease both;
}

.rp-brand-copy {
    max-width: 430px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: rp-fade-up 240ms 110ms ease both;
}

.rp-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
    animation: rp-fade-up 240ms 140ms ease both;
}

.rp-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.rp-pill:hover {
    transform: translateY(-2px);
    border-color: #BFDBFE;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.rp-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.rp-pill strong {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--text);
}

.rp-pill span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.rp-quote {
    margin-top: auto;
    padding-top: 24px;
    animation: rp-fade-up 240ms 170ms ease both;
}

.rp-quote .ri-double-quotes-l {
    color: var(--primary) !important;
}

.rp-quote .carousel-item p {
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 500;
    color: var(--racold-surface);
    margin: 0;
}

.rp-quote .carousel-indicators {
    position: static;
    margin: 12px 0 0;
    justify-content: flex-start;
}

.rp-quote .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    border: 0;
    opacity: 1;
}

.rp-quote .carousel-indicators .active {
    background: var(--primary);
    width: 18px;
    border-radius: 999px;
}

.rp-form-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px 36px;
    background: var(--racold-surface);
}

/* Shubham 'Polish right-side login form to match Racold branding' */
.rp-form-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    animation: rp-fade-up 220ms 40ms ease both;
}

.rp-form-mark img {
    height: 40px;
    width: auto;
    display: block;
}

.rp-form-pane h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--racold-navy);
    letter-spacing: -0.03em;
    line-height: 1.25;
    animation: rp-fade-up 220ms 70ms ease both;
}

.rp-form-pane .rp-lead {
    margin: 0 0 28px;
    color: var(--racold-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    animation: rp-fade-up 220ms 90ms ease both;
}

.rp-field {
    margin-bottom: 16px;
    animation: rp-fade-up 240ms ease both;
}

.rp-delay-1 { animation-delay: 110ms; }
.rp-delay-2 { animation-delay: 140ms; }

.rp-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--racold-navy);
    letter-spacing: 0;
    text-transform: none;
}

.rp-input-wrap {
    position: relative;
}

.rp-input-wrap i.rp-lead-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--racold-muted);
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.rp-form-pane .form-control {
    height: 44px;
    min-height: 44px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 0 14px 0 42px;
    font-size: 14px;
    line-height: 1.4;
    background: var(--racold-surface);
    color: var(--racold-text);
    box-shadow: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.rp-form-pane .form-control::placeholder {
    color: #94A3B8;
}

.rp-form-pane .form-control:hover {
    border-color: #94A3B8;
}

.rp-form-pane .form-control:focus {
    border-color: var(--racold-primary);
    box-shadow: 0 0 0 3px var(--racold-focus);
    outline: none;
    background: var(--racold-surface);
    color: var(--racold-text);
}

.rp-form-pane .form-control:focus-visible {
    outline: 2px solid var(--racold-primary);
    outline-offset: 2px;
}

.rp-form-pane .password-addon {
    height: 44px;
    width: 44px;
    color: var(--racold-muted) !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
}

.rp-form-pane .password-addon:hover,
.rp-form-pane .password-addon:focus {
    color: var(--racold-primary) !important;
}

.rp-form-pane .password-addon:focus-visible {
    outline: 2px solid var(--racold-primary);
    outline-offset: -4px;
}

.rp-signin {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--racold-primary);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.16);
    animation: rp-fade-up 220ms 180ms ease both;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.rp-signin:hover,
.rp-signin:focus {
    background: var(--racold-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
    color: #fff;
}

.rp-signin:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.16);
}

.rp-signin:focus-visible {
    outline: 2px solid var(--racold-primary);
    outline-offset: 2px;
}

.rp-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--racold-muted);
    font-size: 12px;
    line-height: 1.4;
    animation: rp-fade-up 220ms 200ms ease both;
}

.rp-secure i {
    font-size: 14px;
    line-height: 1;
}

.rp-version {
    margin-top: 16px;
    text-align: center;
    color: var(--racold-muted);
    font-size: 11px;
}

.rp-version .text-muted {
    color: var(--racold-muted) !important;
}

.rp-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 2;
    text-align: center;
    color: var(--racold-muted);
    font-size: 13px;
}

.rp-footer i {
    color: var(--racold-primary);
}
/* Shubham 'Polish right-side login form to match Racold branding' */

.rp-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 20px;
    animation: rp-fade-up 220ms 160ms ease both;
}

.rp-row-meta .form-check-label,
.rp-row-meta a {
    font-size: 13px;
}

.rp-row-meta a,
.rp-secure a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.rp-row-meta a:hover,
.rp-secure a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.rp-form-pane .form-check-input:checked {
    background-color: var(--racold-primary);
    border-color: var(--racold-primary);
}

@media (max-width: 991.98px) {
    .rp-brand,
    .hiddeninMobileDevices {
        display: none;
    }

    .rp-shell-row,
    .rp-form-pane {
        min-height: auto;
    }

    .rp-form-pane {
        padding: 28px 22px 22px;
    }

    .rp-stage {
        padding: 16px 12px 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-shell,
    .rp-orb,
    .rp-grid,
    .rp-brand-photo,
    .rp-ripple,
    .rp-ripple::before,
    .rp-ripple::after,
    .rp-kicker,
    .rp-brand-title,
    .rp-brand-copy,
    .rp-pills,
    .rp-quote,
    .rp-logo-light,
    .rp-form-mark,
    .rp-form-pane h2,
    .rp-lead,
    .rp-field,
    .rp-row-meta,
    .rp-signin,
    .rp-secure {
        animation: none !important;
    }

    .rp-form-pane .form-control,
    .rp-signin {
        transition: none !important;
        transform: none !important;
    }
}

@keyframes rp-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes rp-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes rp-fade-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

@keyframes rp-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(16px, -18px, 0); }
}

@keyframes rp-grid-drift {
    from { transform: translateY(0); }
    to { transform: translateY(48px); }
}

@keyframes rp-kenburns {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

@keyframes rp-ripple {
    0% { transform: scale(0.9); opacity: 0.45; }
    100% { transform: scale(1.16); opacity: 0; }
}
