/* scroll webkit */
::-webkit-scrollbar {
    width: 2px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: #40404069;
}

::-webkit-scrollbar-thumb {
    background: #e28a33;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.partners img {
    animation: scroll 10s linear infinite;
    will-change: transform;
}

.driver-popover .driver-popover-title {
    color: #e28a33;
}

.driver-popover .driver-popover-description {
    color: #103050 !important;
}

.swal-container {
    background: radial-gradient(
            120% 120% at 12% 10%,
            rgba(255, 255, 255, 0.32) 0%,
            rgba(255, 255, 255, 0.06) 42%,
            rgba(8, 15, 28, 0.44) 100%
        ),
        rgba(8, 15, 28, 0.24);
    backdrop-filter: blur(10px);
}
.swal-popup {
    position: relative;
    border-radius: 22px;
    width: 410px;
    max-width: calc(100vw - 28px);
    padding: 22px 20px 20px;
    background: linear-gradient(
        150deg,
        rgba(255, 255, 255, 0.9) 8%,
        rgba(244, 247, 255, 0.73) 48%,
        rgba(233, 238, 251, 0.62) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 26px 58px rgba(15, 23, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px) saturate(150%);
}
.swal-popup::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    pointer-events: none;
}
.swal-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.18;
    color: #1f2a3d;
    padding-top: 6px;
    letter-spacing: -0.02em;
}
.swal-content {
    color: #5a667d;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 2px;
}
.swal-confirm-button {
    background: linear-gradient(180deg, #3f63ff 0%, #2f54ea 100%);
    color: white;
    border-radius: 12px;
    padding: 11px 30px;
    font-weight: 600;
    border: 1px solid rgba(63, 99, 255, 0.65);
    box-shadow: 0 10px 20px rgba(47, 84, 234, 0.28);
    min-width: 120px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}
.swal-cancel-button {
    background: rgba(255, 255, 255, 0.8);
    color: #344053;
    border-radius: 12px;
    padding: 11px 30px;
    font-weight: 600;
    border: 1px solid rgba(166, 177, 198, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 6px 12px rgba(15, 23, 42, 0.08);
    min-width: 120px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}
.swal-confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(47, 84, 234, 0.32);
    background: linear-gradient(180deg, #476bff 0%, #3058f4 100%);
}
.swal-cancel-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.96);
}
.swal2-actions {
    width: 100%;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: nowrap;
}
.swal-icon {
    background: radial-gradient(
        circle at 30% 30%,
        rgba(100, 150, 255, 0.26),
        rgba(56, 100, 255, 0.08)
    );
    border: 1px solid rgba(121, 154, 255, 0.28);
    width: 38px;
    height: 38px;
    margin-top: 10px;
    margin-bottom: 12px;
    border-radius: 9999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 8px 16px rgba(47, 84, 234, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: none;
    position: relative;
}

/* Force SweetAlert error "X" to stay centered inside the custom icon circle */
.swal-icon.swal2-error {
    display: grid !important;
    place-items: center !important;
    position: relative !important;
}

.swal-icon.swal2-error .swal2-x-mark {
    display: none !important;
}

.swal-icon.swal2-error [class*="swal2-x-mark-line"] {
    display: none !important;
}

.swal-icon.swal2-error::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 0.2rem;
    background: #ea6f72;
    border-radius: 9999px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.swal-icon.swal2-error::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2rem;
    height: 0.2rem;
    background: #ea6f72;
    border-radius: 9999px;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.swal-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.swal2-close {
    font-size: 24px;
    color: #8a94aa;
    transition: color 0.2s ease;
}
.swal2-close:hover {
    color: #59647c;
}
.swal2-loader {
    border-color: #c49227 rgba(0, 0, 0, 0) #125493 rgba(0, 0, 0, 0) !important;
    border-width: 2px !important;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

body {
    font-family: "Poppins", "Inter", sans-serif;
    background-color: #f7f8fc;
}

.personal-info-page {
    min-height: 100vh;
}

.personal-info-page button {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.personal-info-page button:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 45, 82, 0.12);
}
.modal {
    animation: fadein 0.3s ease-in-out;
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
