* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: #0f1117;
    color: #e8eaed;
    height: 100vh;
    overflow: hidden;
}

.header {
    background: rgba(26, 29, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.logo-signal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 8px;
    background: rgba(26, 29, 46, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.2),
                inset 0 0 20px rgba(74, 144, 226, 0.05);
}

.logo-signal-container::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #0f1117;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

.signal-bar {
    width: 5px;
    background: linear-gradient(180deg, #4a90e2, #357abd);
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
    animation: signalPulse 1.5s ease-in-out infinite;
}

.signal-bar:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.signal-bar:nth-child(2) {
    height: 14px;
    animation-delay: 0.15s;
}

.signal-bar:nth-child(3) {
    height: 20px;
    animation-delay: 0.3s;
}

.signal-bar:nth-child(4) {
    height: 26px;
    animation-delay: 0.45s;
}

@keyframes signalPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleY(0.9);
        box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        box-shadow: 0 0 15px rgba(74, 144, 226, 0.8);
    }
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    position: relative;
}

.logo-text .spot {
    background: linear-gradient(135deg, #fff, #e8eaed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
    letter-spacing: -1px;
}

.logo-text .sms {
    background: linear-gradient(135deg, #4a90e2 0%, #5ba3ff 50%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: textShimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(74, 144, 226, 0.2);
}

.nav-link {
    color: #b0b8c4;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    letter-spacing: -0.2px;
}

.nav-link:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
}

.nav-link.active {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
    font-weight: 600;
}

.btn-auth {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    letter-spacing: -0.2px;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
    border: 1.5px solid rgba(74, 144, 226, 0.4);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    border-color: #4a90e2;
    background: rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.btn-register {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
    background: linear-gradient(135deg, #5ba3ff, #4a90e2);
}

.balance-display {
    color: #10b981;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.45rem 1rem;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-link-admin {
    color: #f59e0b !important;
    font-weight: 600;
}

.nav-link-admin:hover {
    color: #fbbf24 !important;
    background: rgba(245, 158, 11, 0.1) !important;
}

.nav-link-admin.active {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.15) !important;
}

.nav-notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: -4px;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.hamburger-btn:hover { background: rgba(74, 144, 226, 0.2); }
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #4a90e2;
    border-radius: 2px;
    transition: all 0.3s;
}

.main-container {
    display: flex;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: flex-start;
    height: calc(100vh - 70px);
    overflow: hidden;
}

.sidebar {
    width: 380px;
    flex-shrink: 0;
    background: rgba(26, 29, 46, 0.9);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(74, 144, 226, 0.1);
    border-radius: 0;
    padding: 2rem 1.5rem;
    height: calc(100vh - 70px);
    position: sticky;
    top: 70px;
    overflow-y: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.15);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #e8eaed;
    letter-spacing: -0.3px;
}

.info-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.25);
    border-radius: 50%;
    color: #2d6cb5;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.2s;
}

.info-icon:hover {
    background: rgba(74, 144, 226, 0.4);
    color: #1a5a9e;
}

.info-icon-link {
    text-decoration: none;
    display: inline-flex;
}

.service-select {
    margin-bottom: 1.8rem;
}

.selected-display {
    display: none;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    min-height: 64px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.selected-display:hover {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.4);
}

.selected-display.visible {
    display: flex;
}

.selected-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.selected-display .country-flag-img {
    width: 40px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(74, 144, 226, 0.2);
    background: rgba(0,0,0,0.2);
}

.selected-display .selected-text {
    font-size: 1rem;
    font-weight: 600;
    color: #e8eaed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.clear-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.2);
    border: none;
    color: #4a90e2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    transform: scale(1.1);
}

.search-box {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.15);
    border-radius: 10px;
    color: #e8eaed;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #4a90e2;
    background: rgba(15, 17, 23, 0.7);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 0.9rem;
}

.loading-msg {
    padding: 1rem;
    color: #b0b8c4;
    font-size: 0.9rem;
}

.retry-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(74, 144, 226, 0.25);
    border: 1px solid rgba(74, 144, 226, 0.4);
    border-radius: 6px;
    color: #6db3f2;
    font-size: 0.85rem;
    cursor: pointer;
}

.retry-btn:hover {
    background: rgba(74, 144, 226, 0.4);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.3rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem;
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(74, 144, 226, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.service-item:hover {
    border-color: rgba(74, 144, 226, 0.3);
    background: rgba(74, 144, 226, 0.08);
    transform: translateX(3px);
}

.service-item.selected {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.5);
}

.service-favorite {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
    padding: 0.2rem;
}

.service-favorite:hover {
    transform: scale(1.15);
    color: #9ca3af;
}

.service-favorite.active {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.service-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e8eaed;
    font-family: inherit;
    word-break: break-word;
    flex: 1;
}

.service-price {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #10b981;
    flex-shrink: 0;
}

.service-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.country-section {
    margin-top: 1.8rem;
    display: none;
}

.country-section.visible {
    display: block;
}

.country-list {
    max-height: calc(100vh - 550px);
    overflow-y: auto;
    padding-right: 0.3rem;
}

.country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 0.3rem;
    border: 1px solid rgba(74, 144, 226, 0.15);
    background: rgba(15, 17, 23, 0.5);
}

.country-item:hover {
    background: rgba(74, 144, 226, 0.08);
    border-color: rgba(74, 144, 226, 0.2);
}

.country-item.selected {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.5);
}

.country-favorite {
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
    font-size: 1.2rem;
    padding: 0.2rem;
    margin-right: 0.3rem;
}

.country-favorite:hover {
    transform: scale(1.15);
    color: #9ca3af;
}

.country-favorite.active {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.country-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.country-flag-img {
    width: 32px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.country-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.country-price-info {
    display: none;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
}

.price-label {
    color: #b0b8c4;
    font-size: 0.75rem;
}

.price {
    font-weight: 700;
    color: #10b981;
    font-size: 1.1rem;
}

.operator-section {
    margin-top: 1.8rem;
    display: none;
}

.operator-section.visible {
    display: block;
}

.operator-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.operator-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    border: 1px solid rgba(74, 144, 226, 0.2);
    background: rgba(15, 17, 23, 0.5);
    margin-bottom: 0.8rem;
}

.operator-item:hover {
    background: rgba(74, 144, 226, 0.08);
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.operator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.operator-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.operator-name {
    font-size: 1rem;
    font-weight: 600;
    color: #e8eaed;
    flex: 1;
}

.operator-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
    margin-left: auto;
    flex-shrink: 0;
}

.operator-item.selected {
    background: rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.6);
}

.operator-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-buy {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    border: none;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #357abd, #2868a8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

.content-area {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 3rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.content-area::-webkit-scrollbar {
    width: 0px;
}

.hero {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.1);
    padding: 2rem 1.8rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: #b0b8c4;
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    body { height: auto; overflow: auto; }
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        padding: 1.5rem 1rem;
    }
    .content-area { padding: 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .stats { gap: 2rem; }
    .service-list { max-height: 200px; }
    .country-list { max-height: 200px; }
}

@media (max-width: 768px) {
    .header { padding: 0.75rem 1rem; }
    .hamburger-btn { display: flex; }
    .header-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 17, 23, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
        backdrop-filter: blur(12px);
    }
    .header-nav.mobile-open { display: flex; }
    .nav-links { flex-direction: column; align-items: center; gap: 0.8rem; }
    .nav-link { font-size: 1.1rem; padding: 0.7rem 1.5rem; display: block !important; }
    .auth-buttons {
        flex-direction: column;
        margin-left: 0; padding-left: 0;
        border-left: none; border-top: 1px solid rgba(74,144,226,0.2);
        padding-top: 1rem; gap: 0.8rem;
        align-items: center;
    }
    .hero { padding: 2rem 1.2rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.9rem; }
    .features { grid-template-columns: 1fr; }
    .content-area { padding: 1rem; }
    .operator-options { flex-direction: column; }
    .operator-option { min-width: unset; }
    .number-panel-header { padding: 1rem 1.2rem; }
    .number-panel-content { padding: 1rem; }
    .activations-table { font-size: 0.8rem; }
    .activations-table th,
    .activations-table td { padding: 0.5rem 0.4rem; }
}

@media (max-width: 480px) {
    .header { padding: 0.6rem 0.75rem; }
    .logo-icon { width: 36px; height: 36px; }
    .logo-text { font-size: 1.1rem; }
    .sidebar { padding: 1rem 0.75rem; }
    .hero { padding: 1.5rem 1rem; border-radius: 12px; }
    .hero h1 { font-size: 1.3rem; }
    .stats { flex-direction: column; gap: 1rem; }
    .stat-number { font-size: 1.6rem; }
    .service-list { max-height: 180px; }
    .balance-display { font-size: 0.85rem; padding: 0.35rem 0.7rem; }
    .btn-auth { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .popup-box { padding: 1.5rem; max-width: 95%; }
    .number-value { font-size: 1.3rem; }
    .number-info-row { grid-template-columns: 1fr; }
    .number-actions { flex-direction: column; }
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 17, 23, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 144, 226, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 144, 226, 0.7);
}

/* Get Number Box */
.get-number-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(26, 29, 46, 0.8);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 12px;
    padding: 1.2rem;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.get-number-box.active {
    opacity: 1;
    pointer-events: auto;
    border-color: rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, rgba(26, 29, 46, 0.9), rgba(74, 144, 226, 0.1));
}

.operator-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.operator-option {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-width: 140px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Numara siparişi sunucuda olmayan satırlar (pid vn_*) */
.operator-option-unavailable {
    opacity: 0.88;
    border-color: rgba(255, 255, 255, 0.04);
}

.operator-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.operator-option .btn-get-number {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
}

.get-number-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.operator-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8ecf2;
}

.operator-price-tag {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
}

.btn-get-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-get-number:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.btn-get-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-get-number.loading {
    pointer-events: none;
}

.btn-get-number.loading .btn-icon {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.get-number-hint {
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* No Numbers Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-box {
    background: linear-gradient(145deg, #1a1d2e, #0f1117);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(74, 144, 226, 0.1);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8ecf2;
    margin-bottom: 1rem;
}

.popup-message {
    color: #b0b8c4;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn.primary {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.35);
}

.popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.45);
}

.popup-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #b0b8c4;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #e8ecf2;
}

/* Searching Animation */
.searching-box {
    min-width: 320px;
}

.search-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.search-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(74, 144, 226, 0.2);
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.search-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    animation: phonePulse 1.5s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.countdown-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 800;
    color: #4a90e2;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

/* Number Panel */
.number-panel {
    background: linear-gradient(145deg, rgba(26, 29, 46, 0.95), rgba(15, 17, 23, 0.98));
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.number-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(16, 185, 129, 0.1));
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.number-panel-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e8ecf2;
    margin: 0;
}

.panel-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #b0b8c4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.activation-count {
    color: #b0b8c4;
    font-size: 0.9rem;
}

.number-panel-content {
    padding: 1.5rem 2rem;
    overflow-x: auto;
}

.activations-table {
    width: 100%;
    border-collapse: collapse;
}

.activations-table th,
.activations-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.activations-table th {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activations-table td {
    color: #e8ecf2;
    font-size: 0.9rem;
}

.activations-table tbody tr:hover {
    background: rgba(74, 144, 226, 0.05);
}

.table-service {
    font-weight: 500;
}

.number-with-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.table-number {
    font-family: 'Monaco', 'Consolas', monospace;
}

.copy-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(74, 144, 226, 0.15);
    border: 1px solid rgba(74, 144, 226, 0.25);
    border-radius: 6px;
    color: #4a90e2;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn-small:hover {
    background: rgba(74, 144, 226, 0.25);
    border-color: rgba(74, 144, 226, 0.4);
    color: #6ba8f0;
    transform: scale(1.05);
}

.copy-btn-small:active {
    transform: scale(0.98);
}

.copy-btn-small.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.copy-btn-small .copy-icon {
    flex-shrink: 0;
}

.country-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.country-cell .table-flag {
    flex-shrink: 0;
}

.table-flag {
    width: 24px;
    height: 18px;
    vertical-align: middle;
    margin-right: 0;
}

.table-time {
    font-variant-numeric: tabular-nums;
}

.table-code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    white-space: nowrap;
}

.action-btn-small {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #b0b8c4;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 0.3rem;
}

.action-btn-small.cancel-btn {
    margin-right: 0;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.action-btn-small.cancel-btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
}

.action-btn-small.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.action-btn-small:hover {
    opacity: 0.9;
}

.number-display {
    text-align: center;
    padding: 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    margin-bottom: 1.5rem;
}

.number-label {
    font-size: 0.9rem;
    color: #b0b8c4;
    margin-bottom: 0.5rem;
}

.number-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4a90e2;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
}

.copy-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.number-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    background: rgba(26, 29, 46, 0.6);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.info-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #e8ecf2;
}

.sms-status {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.status-icon {
    font-size: 1.3rem;
}

.status-icon.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-text {
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
}

.sms-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.sms-code-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.sms-code-value {
    font-size: 1.1rem;
    color: #e8ecf2;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    word-break: break-all;
    font-family: 'Monaco', 'Consolas', monospace;
}

.polling-info {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.number-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.action-btn.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

.action-btn.secondary {
    background: rgba(74, 144, 226, 0.15);
    color: #4a90e2;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.action-btn.secondary:hover {
    background: rgba(74, 144, 226, 0.25);
}

@media (max-width: 640px) {
    .number-panel-content {
        padding: 1.5rem;
    }
    
    .number-value {
        font-size: 1.5rem;
    }
    
    .number-info-row {
        grid-template-columns: 1fr;
    }
    
    .number-actions {
        flex-direction: column;
    }
}
