/* Daystaz admin login — logo brand palette */

.auth-bg {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-content {
    background: linear-gradient(160deg, rgba(0, 26, 84, 0.95) 0%, rgba(0, 86, 210, 0.88) 55%, rgba(0, 123, 255, 0.85) 100%) !important;
}

.auth-wrapper .auth-logo {
    height: auto;
    margin-bottom: 1.25rem;
}

.auth-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.auth-brand__logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.auth-brand__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #007bff 0%, #001a54 100%);
    color: #fff;
    font-size: 1.65rem;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.35);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.auth-brand__icon::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffb800;
    box-shadow: 0 0 6px rgba(255, 184, 0, 0.6);
}

.auth-brand__name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #001a54;
    line-height: 1.2;
}

.auth-brand__name.ds-brand {
    color: #001a54;
    letter-spacing: -0.02em;
}

.auth-brand__name.ds-brand span {
    color: #001a54;
}

.auth-brand__name .ds-brand__tld {
    color: #007bff;
}

.auth-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.auth-header .signin-txt {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001a54;
    margin-bottom: 0.35rem;
}

.auth-header p {
    color: #5a6b8a;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.auth-wrapper .auto-fill-data-copy {
    background: #e8f0ff;
    border: 1px solid #c5d8f5;
    border-inline-start: 3px solid #ffb800;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: #001a54;
}

.auth-wrapper .auto-fill-data-copy strong {
    color: #001a54;
    font-weight: 600;
}

.auth-wrapper .auto-fill-data-copy .btn-primary {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #007bff !important;
    border-color: #007bff !important;
}

.auth-wrapper .form-group {
    margin-bottom: 1rem;
}

.auth-wrapper .input-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-transform: none;
    color: #001a54;
}

.auth-wrapper .form-control {
    height: 48px;
    border: 1px solid #dce4f0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    color: #001a54;
    background: #fff;
    box-shadow: none;
}

.auth-wrapper .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.auth-wrapper .form-control::placeholder {
    color: #97a4af;
    opacity: 1;
}

.auth-wrapper .input-group-merge .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.auth-wrapper .input-group-merge .input-group-append .input-group-text {
    height: 48px;
    border: 1px solid #dce4f0;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #fff;
    color: #5a6b8a;
    padding: 0 0.875rem;
}

.auth-wrapper .input-group-merge .form-control:focus + .input-group-append .input-group-text {
    border-color: #007bff;
}

.auth-wrapper .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
}

.auth-wrapper .custom-control-label {
    color: #001a54 !important;
    font-size: 0.875rem;
    padding-top: 2px;
}

.auth-wrapper .custom-control-label::before {
    border-color: #c5cdd5;
    background: #fff;
}

.auth-wrapper .btn-primary {
    width: 100%;
    max-width: none;
    height: 48px;
    margin-top: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, #007bff 0%, #0056d2 100%) !important;
    border-color: #007bff !important;
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.35);
}

.auth-wrapper .btn-primary:hover,
.auth-wrapper .btn-primary:focus {
    background: linear-gradient(135deg, #0056d2 0%, #001a54 100%) !important;
    border-color: #0056d2 !important;
}

.auth-wrapper .invalid-feedback {
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

@media (max-width: 767px) {
    .auth-bg {
        align-items: center;
        justify-content: center;
        padding: 1.25rem;
    }

    .auth-wrapper {
        width: 100%;
        max-width: 440px;
        min-height: auto;
        margin: 0 auto !important;
        border-radius: 14px;
        box-shadow: 0 1rem 2.5rem rgba(0, 26, 84, 0.22);
        background: #fff;
    }

    .auth-wrapper .auth-wrapper-body {
        padding: 1.75rem 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .auth-wrapper {
        width: 55%;
    }
}
