/* Container */
.check-id-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

/* Header */
.check-id-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.check-id-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-back-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}

.btn-back-circle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #2563eb;
}

.header-titles h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.header-titles p {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

/* Search Card */
.check-id-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.search-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.card-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f8fafc;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid #e2e8f0;
}

.search-card-header h4 {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.search-card-header p {
    font-size: 11px;
    color: #64748b;
    margin: 2px 0 0 0;
}

/* Search Mode Tabs */
.search-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.tab-mode-btn {
    background: transparent;
    border: none;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.tab-mode-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tab-mode-btn:hover:not(.active) {
    color: #1e293b;
}

/* Form Elements */
.search-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.phone-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-clear-input {
    position: absolute;
    right: 12px;
    background: #e2e8f0;
    border: none;
    color: #64748b;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-clear-input:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.input-hint {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 2px;
}

.btn-submit-check {
    width: 100%;
    background: #2563eb;
    border: none;
    color: #ffffff;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-promo-tag {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    letter-spacing: 0.2px;
}

.btn-submit-check:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.btn-submit-check:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Result Section Wrapper */
.result-section-wrapper {
    width: 100%;
}

/* Placeholder State */
.result-placeholder-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 32px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.placeholder-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 4px;
}

.result-placeholder-state h5 {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.result-placeholder-state p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    max-width: 280px;
    line-height: 1.4;
}

/* Loading State */
.result-loading-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 36px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInSlide 0.25s ease;
}

.loading-pulse-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.result-loading-state h5 {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.result-loading-state p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    max-width: 280px;
}

/* Error State */
.result-error-card {
    background: #ffffff;
    border: 1px solid #fee2e2;
    border-radius: 18px;
    padding: 26px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    animation: fadeInSlide 0.25s ease;
}

.error-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.result-error-card h5 {
    font-size: 15px;
    font-weight: 800;
    color: #991b1b;
    margin: 0;
}

.result-error-card p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    max-width: 300px;
}

/* =================================================== */
/* CLEAN, MINIMAL SUCCESS CARD (NO OVERCROWDED COLORS) */
/* =================================================== */
.result-clean-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeInSlide 0.25s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clean-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.header-status-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-status-title i {
    color: #10b981;
}

.badge-status-pill {
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

/* Profile Section */
.clean-profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.clean-avatar-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.clean-profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.clean-user-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clean-user-username {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.clean-user-bio {
    font-size: 11.5px;
    color: #475569;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    padding: 4px 8px;
    border-radius: 0 6px 6px 0;
    margin: 4px 0 0 0;
    line-height: 1.4;
    word-break: break-word;
}

/* Telegram ID Box */
.clean-id-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.id-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.id-caption {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.id-digits {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.id-rarity-badge-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    text-align: right;
}

.rarity-badge-caption {
    font-size: 8.5px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rarity-badge-value {
    font-size: 13px;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: 0.5px;
}

/* =================================================== */
/* RESULT CATEGORY TABBAR (EQUAL 3-COL CENTERED GRID)  */
/* =================================================== */
.result-tabbar-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    box-sizing: border-box;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px;
    border-radius: 12px;
    gap: 4px;
    margin: 4px 0 2px 0;
}

.result-tab-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 8px 4px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s ease;
    text-align: center;
    white-space: nowrap;
}

.result-tab-btn i {
    font-size: 12px;
}

.result-tab-btn.active {
    background: #ffffff;
    color: #2563eb;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tab-pane {
    animation: fadeInTab 0.2s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Details List */
.clean-details-list {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 4px 10px;
}

.clean-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 2px;
    border-bottom: 1px solid #f1f5f9;
    gap: 10px;
}

.clean-detail-item:last-child {
    border-bottom: none;
}

.item-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.item-label i {
    font-size: 13px;
    color: #94a3b8;
    width: 14px;
    text-align: center;
}

.item-value {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    word-break: break-word;
}

/* Username History List */
.clean-history-container {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    gap: 10px;
}

.history-uname-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.history-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    flex-shrink: 0;
}

.history-uname-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.history-time-text {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.history-empty-state {
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
    padding: 18px 10px;
}

/* Actions Group */
.clean-actions-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.btn-open-telegram {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.btn-open-telegram:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-check-another {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.btn-check-another:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Snackbar Toast Alert */
.snackbar-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 32px);
    max-width: 440px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4), 0 8px 10px -6px rgba(15, 23, 42, 0.3);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.snackbar-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.snackbar-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.snackbar-icon {
    font-size: 16px;
    color: #f87171;
    flex-shrink: 0;
}

.snackbar-text {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.snackbar-action {
    background: #ef4444;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.snackbar-action:hover {
    background: #dc2626;
    color: #ffffff;
    transform: scale(1.02);
}
