*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fire-red: #e22026;
    --fire-orange: #ff6a00;
    --fire-gold: #ffb800;
    --dark-bg: #0d0d0d;
    --card-bg: #1a1a1a;
    --card-border: rgba(226, 32, 38, 0.25);
    --input-bg: #242424;
    --text-primary: #f5f5f5;
    --text-muted: #888;
    --label-color: #bbb;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* === BACKGROUND === */
.container-login100 {
    min-height: 100vh;
    position: relative;
    background:
        radial-gradient(
            ellipse 70% 50% at 10% 40%,
            rgba(226, 32, 38, 0.15) 0%,
            transparent 60%
        ),
        radial-gradient(
            ellipse 50% 60% at 90% 20%,
            rgba(255, 106, 0, 0.1) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse 60% 40% at 50% 110%,
            rgba(255, 61, 0, 0.08) 0%,
            transparent 50%
        ),
        #0d0d0d;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ember dots */
.container-login100::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(
            1px 1px at 8% 18%,
            rgba(255, 184, 0, 0.55) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 22% 72%,
            rgba(226, 32, 38, 0.45) 0%,
            transparent 100%
        ),
        radial-gradient(
            1.5px 1.5px at 58% 12%,
            rgba(255, 106, 0, 0.4) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 78% 58%,
            rgba(255, 184, 0, 0.45) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 42% 88%,
            rgba(226, 32, 38, 0.35) 0%,
            transparent 100%
        ),
        radial-gradient(
            2px 2px at 88% 32%,
            rgba(255, 61, 0, 0.3) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 68% 82%,
            rgba(255, 184, 0, 0.35) 0%,
            transparent 100%
        ),
        radial-gradient(
            1.5px 1.5px at 3% 52%,
            rgba(255, 106, 0, 0.28) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 48% 42%,
            rgba(226, 32, 38, 0.28) 0%,
            transparent 100%
        ),
        radial-gradient(
            1px 1px at 33% 28%,
            rgba(255, 184, 0, 0.45) 0%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 0;
    animation: emberFloat 8s ease-in-out infinite alternate;
}

.container-login100::after {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 80px,
        rgba(226, 32, 38, 0.025) 80px,
        rgba(226, 32, 38, 0.025) 81px
    );
    pointer-events: none;
    z-index: 0;
}

@keyframes emberFloat {
    0% {
        transform: translateY(0px);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-12px);
        opacity: 1;
    }
}

/* === LAYOUT === */
.container {
    max-width: 820px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.row.m-0 {
    margin: 0 !important;
}

.col-lg-4 {
    display: none;
}

.col-lg-8 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
}

/* === CARD === */
.login-area-sec {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 32px 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(226, 32, 38, 0.08),
        0 8px 40px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(226, 32, 38, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Top glow line */
.login-area-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--fire-red),
        var(--fire-orange),
        transparent
    );
}

/* Bottom corner glow */
.login-area-sec::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(226, 32, 38, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === LOGO HEADER === */
.login100-pic {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.login100-pic h3 {
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(
        135deg,
        #fff 30%,
        var(--fire-gold) 70%,
        var(--fire-orange) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.login100-pic p {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 12px;
}

.login100-pic img {
    width: 233px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.5))
        drop-shadow(0 0 24px rgba(226, 32, 38, 0.3));
    animation: phoenixGlow 3s ease-in-out infinite alternate;
}

@keyframes phoenixGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.4))
            drop-shadow(0 0 20px rgba(226, 32, 38, 0.2));
        transform: translateY(0);
    }
    100% {
        filter: drop-shadow(0 0 16px rgba(255, 184, 0, 0.6))
            drop-shadow(0 0 32px rgba(226, 32, 38, 0.4));
        transform: translateY(-3px);
    }
}

/* === FORM HEADER === */
.fisherman-content {
    margin-bottom: 6px !important;
}

.fisherman-content h4 {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.fisherman-content h3 {
    font-family: "Cinzel", serif !important;
    font-size: 20px !important;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        #fff 20%,
        var(--fire-gold) 65%,
        var(--fire-orange) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.fisherman-content::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange));
    border-radius: 2px;
    margin-top: 8px;
}

/* === LABELS === */
label {
    font-size: 11px;
    font-weight: 500;
    color: var(--label-color);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
}

label .text-danger {
    color: var(--fire-red) !important;
}

/* === INPUT GROUP === */
.input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--input-bg);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.input-group:focus-within {
    border-color: var(--fire-red);
    box-shadow:
        0 0 0 2px rgba(226, 32, 38, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Icon badge */
.input-group-text {
    background: linear-gradient(135deg, var(--fire-red), #c41c21) !important;
    border: none !important;
    color: #fff !important;
    padding: 0 11px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 0 !important;
    transition: background 0.25s ease;
}

.input-group:focus-within .input-group-text {
    background: linear-gradient(
        135deg,
        var(--fire-orange),
        var(--fire-red)
    ) !important;
}

/* Inputs */
.form-control,
.form-select {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--text-primary) !important;
    font-family: "Outfit", sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    padding: 8px 11px;
    border-radius: 0 !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.22) !important;
    font-weight: 300;
}

.form-select {
    cursor: pointer;
}
.form-select option {
    background: #222;
    color: #eee;
}

/* Mobile field */
.input-group-set-mob .form-select {
    max-width: 84px;
    min-width: 76px;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-left: 6px;
    padding-right: 4px;
}

/* Password eye toggle */
.input-group-eye {
    position: relative;
}

.eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.eye:hover {
    color: var(--fire-orange);
}
.eye .showPass {
    display: none;
}
.input-group-eye .form-control {
    padding-right: 34px;
}

/* Validation messages */
.field-validation-valid,
.field-validation-error {
    font-size: 10px;
    margin-top: 3px;
    display: block;
    letter-spacing: 0.02em;
}

/* === REGISTER BUTTON === */
.commonButton {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #e22026 0%, #c41c21 50%, #a51719 100%);
    color: #fff;
    font-family: "Cinzel", serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow:
        0 4px 16px rgba(226, 32, 38, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: 6px;
}

.commonButton::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.commonButton:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 24px rgba(226, 32, 38, 0.5),
        0 3px 10px rgba(0, 0, 0, 0.4);
}

.commonButton:hover::before {
    left: 100%;
}
.commonButton:active {
    transform: translateY(0);
}

/* === LOGIN LINK === */
.text-align-center {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.text-align-center a {
    color: var(--fire-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.text-align-center a:hover {
    color: var(--fire-orange);
}

/* Spacing overrides — tighter */
.mt-3 {
    margin-top: 12px !important;
}
.mb-3 {
    margin-bottom: 10px !important;
}
.mt-2 {
    margin-top: 6px !important;
}
.mt-1 {
    margin-top: 6px !important;
}

/* Autofill override */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px var(--input-bg) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

/* Responsive */
@media (max-width: 600px) {
    .login-area-sec {
        padding: 20px 14px 18px;
    }
    .fisherman-content h3 {
        font-size: 17px !important;
    }
    .login100-pic img {
        width: 46px;
        height: 46px;
    }
}
