/* SIM Card Design */
.sim-card {
    position: relative;
    overflow: hidden;
}

.sim-header::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.sim-chip {
    position: relative;
    padding-left: 15px;
}

.sim-chip::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 16px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border-radius: 4px;
}

/* Gold SIM Chip Effect */
.sim-chip>div:first-child {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    position: relative;
    overflow: hidden;
}

.sim-chip>div:first-child::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 55%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.card {
    border-radius: 0.75rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding: 1.5rem;
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hero-gradient {
    background: linear-gradient(135deg, #0066FF 0%, #0047B3 100%);
}

.header-gradiant {
    background: linear-gradient(135deg, #06F 0%, #004EC3 100%);
}

.feature-icon {
    background: rgba(0, 102, 255, 0.1);
}


#navbar {
    transition: all 0.3s ease-in-out;
}

.logo-transition {
    transition: all 0.3s ease-in-out;
}

.menu-item {
    transition: all 0.3s ease-in-out;
}

#currency {
    transition: all 0.3s ease-in-out;
}

#currencycode {
    transition: all 0.3s ease-in-out;
}

#language {
    transition: all 0.3s ease-in-out;
}

#menu-toggle {
    transition: all 0.3s ease-in-out;
}

.toggle-container {
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #bfbfbf;
    border-radius: 9999px;
    padding: 4px;
    position: relative;
    height: 44px;
    width: 200px;
}

.toggle-switch {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 96px;
    height: 36px;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.toggle-option {
    flex: 1;
    text-align: center;
    z-index: 1;
    font-weight: 500;
    color: #313846;
    transition: color 0.2s ease;
    user-select: none;
}

.toggle-option.active {
    color: #2563eb;
}

.toggle-checkbox:checked+.toggle-label .toggle-switch {
    transform: translateX(96px);
}

.toggle-checkbox:checked+.toggle-label .toggle-option:nth-child(1) {
    color: #6b7280;
}

.toggle-checkbox:checked+.toggle-label .toggle-option:nth-child(3) {
    color: #2563eb;
}

.search-results {
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-results.active {
    display: block;
}

/* .search-item:hover {
        background-color: #f3f4f6;
    } */
.pulse-border {
    position: relative;
    border: 2px solid transparent;
}

.pulse-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -2px;
    right: -2px;
    bottom: -4px;
    border: 2px solid rgb(36, 97, 230);
    /* Red-500 */
    border-radius: 0.5rem;
    /* Match your button's rounded-lg */
    animation: pulse 1.5s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.checkbox:checked~.cookie-toggle-toggle-label {
    background-color: #2563eb;
}

.toggle-checkbox:checked~.cookie-toggle-label .cookie-toggle-button {
    transform: translateX(1rem);
}

.offer-strip {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.pulse-offer {
    animation: offerpulse 2s infinite;
}

@keyframes offerpulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}