html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.footer1 {
    width: 100%;
    background: #f8f9fa;
    padding: 15px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
}
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

.logout-container {
    position: absolute;
    top: 16%;
    right: 30px;
    display: flex;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1000;
}

    .logout-container.show {
        right: 10px; 
    }

.icon {
    font-size: 24px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #dc3545;
}

.logout-btn {
    margin-left: 8px;
    padding: 8px 14px;
    background-color: white;
    border: 1px solid #dc3545;
    color: #dc3545;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

    .logout-btn:hover {
        background-color: #dc3545;
        color: white;
    }


/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.6); 
    display: flex;
    align-items: center;
    justify-content: center; 
    z-index: 9999;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    --color: #C4172C;
    --animation: 2s ease-in-out infinite;
}

    .loader .circle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 20px;
        height: 20px;
        border: solid 2px var(--color);
        border-radius: 50%;
        margin: 0 10px;
        background-color: transparent;
        animation: circle-keys var(--animation);
    }

        .loader .circle .dot {
            position: absolute;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--color);
            animation: dot-keys var(--animation);
        }

        .loader .circle .outline {
            position: absolute;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            animation: outline-keys var(--animation);
        }

.circle:nth-child(2) {
    animation-delay: 0.3s;
}

.circle:nth-child(3) {
    animation-delay: 0.6s;
}

.circle:nth-child(4) {
    animation-delay: 0.9s;
}

.circle:nth-child(5) {
    animation-delay: 1.2s;
}

.circle:nth-child(2) .dot {
    animation-delay: 0.3s;
}

.circle:nth-child(3) .dot {
    animation-delay: 0.6s;
}

.circle:nth-child(4) .dot {
    animation-delay: 0.9s;
}

.circle:nth-child(5) .dot {
    animation-delay: 1.2s;
}

.circle:nth-child(1) .outline {
    animation-delay: 0.9s;
}

.circle:nth-child(2) .outline {
    animation-delay: 1.2s;
}

.circle:nth-child(3) .outline {
    animation-delay: 1.5s;
}

.circle:nth-child(4) .outline {
    animation-delay: 1.8s;
}

.circle:nth-child(5) .outline {
    animation-delay: 2.1s;
}

@keyframes circle-keys {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes dot-keys {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes outline-keys {
    0% {
        transform: scale(0);
        outline: solid 20px var(--color);
        outline-offset: 0;
        opacity: 1;
    }

    100% {
        transform: scale(1);
        outline: solid 0 transparent;
        outline-offset: 20px;
        opacity: 0;
    }
}

.vehicle-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 10px solid #C4172C;
    border-radius: 6px;
    font-size: 0.78rem;
}

.info-item {
    padding-right: 12px;
    border-right: 1px dashed #d1d5db;
}

    .info-item:last-child {
        border-right: none;
    }

.info-label-veh {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    text-transform: uppercase;
}

.info-value {
    font-weight: 600;
    color: #111827;
}

.edit-label {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.edit-input {
    border-radius: 4px;
    transition: all 0.15s ease;
}

    .edit-input:focus {
        border-color: #C4172C;
        box-shadow: 0 0 0 1px rgba(13,110,253,.2);
    }

.compact-check .form-check-label {
    font-size: 0.7rem;
}

.addon-Cover-Box {
    background: #fff;
    border-radius: 10px;
}

.Addon-heading {
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 600;
}

.idv-info {
    min-width: 220px;
}

.idv-info .form-range {
    width: 100%;
}

.failed-card {
    border: 1px solid #f1c0c0;
    background: #fff5f5;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.failed-logo {
    max-width: 90px;
    max-height: 50px;
    object-fit: contain;
}

.failed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.failed-badge {
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
}

.failed-remarks {
    margin-top: 6px;
    font-size: 13px;
    color: #721c24;
}


