/* Towing 24 Hours Login Module */
.t24-login,
.t24-login * {
    box-sizing: border-box;
}

.t24-login {
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    color: #f8fafc;
}

.t24-login a {
    color: inherit;
    text-decoration: none;
}

.t24-login__inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(220, 38, 38, .18), transparent 42%), linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(3, 7, 18, .98));
    border: 1px solid rgba(248, 250, 252, .12);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .34);
}

.t24-login--compact .t24-login__inner,
.t24-login--footer .t24-login__inner {
    max-width: 100%;
    padding: 14px;
    border-radius: 16px;
    box-shadow: none;
}

.t24-login--footer .t24-login__inner {
    background: rgba(15, 23, 42, .48);
    border-color: rgba(148, 163, 184, .18);
}

.t24-login__logo-wrap {
    margin: 0 0 12px;
    line-height: 0;
}

.t24-login__logo {
    display: block;
    max-width: 210px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.t24-login--compact .t24-login__logo,
.t24-login--footer .t24-login__logo {
    max-width: 160px;
    max-height: 54px;
}

.t24-login__title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -.02em;
}

.t24-login--footer .t24-login__title,
.t24-login--compact .t24-login__title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.t24-login__intro,
.t24-login__user {
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: .94rem;
    line-height: 1.48;
}

.t24-login--footer .t24-login__intro,
.t24-login--compact .t24-login__intro,
.t24-login--footer .t24-login__user,
.t24-login--compact .t24-login__user {
    font-size: .84rem;
    line-height: 1.42;
    margin-bottom: 10px;
}

.t24-login__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin: 0;
}

.t24-login__form--logout {
    margin-top: 10px;
}

.t24-login__field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

.t24-login__field label {
    display: block;
    margin: 0;
    color: #e5e7eb;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.t24-login__field input[type="text"],
.t24-login__field input[type="password"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 13px;
    color: #ffffff;
    background: rgba(2, 6, 23, .82);
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 12px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    font-size: .96rem;
    line-height: 44px;
}

.t24-login--footer .t24-login__field input[type="text"],
.t24-login--footer .t24-login__field input[type="password"],
.t24-login--compact .t24-login__field input[type="text"],
.t24-login--compact .t24-login__field input[type="password"] {
    height: 38px;
    border-radius: 10px;
    padding: 0 10px;
    font-size: .88rem;
    line-height: 38px;
}

.t24-login__field input:focus {
    border-color: rgba(239, 68, 68, .92);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .18);
}

.t24-login__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #cbd5e1;
    font-size: .86rem;
    line-height: 1.2;
}

.t24-login__remember input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #dc2626;
}

.t24-login__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.t24-login__button span {
    display: inline-block;
    font-weight: 800;
    opacity: .9;
    text-transform: none;
    letter-spacing: 0;
}

.t24-login--footer .t24-login__button,
.t24-login--compact .t24-login__button {
    min-height: 38px;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: .82rem;
}

.t24-login__button:hover,
.t24-login__button:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.t24-login__button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #b91c1c 54%, #7f1d1d);
    box-shadow: 0 14px 26px rgba(185, 28, 28, .28);
}

.t24-login__button--secondary {
    color: #e5e7eb;
    background: rgba(15, 23, 42, .8);
    border: 1px solid rgba(148, 163, 184, .26);
    box-shadow: none;
}

.t24-login__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 12px;
    color: #cbd5e1;
    font-size: .82rem;
    line-height: 1.25;
}

.t24-login__links a {
    color: #fca5a5;
    text-decoration: none;
}

.t24-login__links a:hover,
.t24-login__links a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.t24-login__partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fecaca;
    background: rgba(127, 29, 29, .35);
    border: 1px solid rgba(248, 113, 113, .26);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.t24-login--light,
.t24-login--light .t24-login__inner {
    color: #111827;
}

.t24-login--light .t24-login__inner {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .10);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.t24-login--light .t24-login__title { color: #0f172a; }
.t24-login--light .t24-login__intro,
.t24-login--light .t24-login__user,
.t24-login--light .t24-login__remember { color: #475569; }
.t24-login--light .t24-login__field label { color: #1f2937; }
.t24-login--light .t24-login__field input[type="text"],
.t24-login--light .t24-login__field input[type="password"] {
    color: #111827;
    background: #ffffff;
    border-color: rgba(15, 23, 42, .18);
}
.t24-login--light .t24-login__links { color: #475569; }
.t24-login--light .t24-login__links a { color: #b91c1c; }

/* Protect narrow module positions and footer columns from Bootstrap/Joomla layout collisions. */
.t24-login .row,
.t24-login .control-group,
.t24-login .controls,
.t24-login [class*="span"],
.t24-login [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
}

@media (max-width: 767px) {
    .t24-login__inner {
        padding: 16px;
        border-radius: 18px;
    }

    .t24-login__logo {
        max-width: 170px;
    }

    .t24-login__title {
        font-size: 1.08rem;
    }

    .t24-login__intro,
    .t24-login__user {
        font-size: .88rem;
    }
}


/* v1.0.1: stable same-page anchor target for portal login button. */
.t24-login-anchor{display:block!important;position:relative!important;top:-96px!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:none!important;}
