:root {
    --bg-primary: #0c0e14;
    --bg-secondary: #151824;
    --bg-tertiary: #1c2133;
    --text-primary: #e6e7f0;
    --text-secondary: #9ca3af;
    --accent-primary: #10b981;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #3b82f6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --glow-accent: 0 0 15px rgba(16, 185, 129, 0.35);
    /* Animation timing variables */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { 
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from { 
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background-color: var(--bg-secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    color: var(--accent-primary);
}

.logo i {
    margin-right: 0.8rem;
}

.nav-menu {
    margin-bottom: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast) ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width var(--transition-normal) var(--ease-out);
    opacity: 0;
}

.nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

/* Accounts List */
.accounts-list {
    flex: 1;
    overflow-y: auto;
}

.accounts-list h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

.accounts-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Account Item States */
.account-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    position: relative;
    border-left: 3px solid transparent;
    animation: slideInRight calc(var(--transition-normal) + 0.1s) ease-out forwards;
    opacity: 0;
}

/* Animation delay for account items to create a cascade effect */
.account-item:nth-child(1) { animation-delay: 0.05s; }
.account-item:nth-child(2) { animation-delay: 0.1s; }
.account-item:nth-child(3) { animation-delay: 0.15s; }
.account-item:nth-child(4) { animation-delay: 0.2s; }
.account-item:nth-child(5) { animation-delay: 0.25s; }
.account-item:nth-child(n+6) { animation-delay: 0.3s; }

/* Bank History specific styles */
.account-summary-card {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--accent-tertiary);
    animation: fadeIn var(--transition-normal) forwards;
    box-shadow: var(--shadow-md);
}

.summary-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.summary-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.summary-row {
    display: flex;
    flex-direction: column;
}

.summary-row .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.summary-row .value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.summary-row .balance-value {
    color: var(--success);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Bank table specific styles */
.bank-table tbody tr.credit-row .transaction-amount {
    color: var(--success);
}

.bank-table tbody tr.debit-row .transaction-amount {
    color: var(--danger);
}

.bank-table .transaction-type {
    text-align: center;
    font-weight: 500;
}

.bank-table .transaction-type.credit {
    color: var(--success);
}

.bank-table .transaction-type.debit {
    color: var(--danger);
}

/* Disabled account styling */
.account-item.disabled {
    opacity: 0.7;
    position: relative;
}

.account-item.disabled::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.account-item.disabled .account-number {
    color: #8e929b; /* Darker than very light gray but still visibly different */
}

.account-item.disabled .account-date {
    color: #6d707a;
}

/* Selected disabled account */
.account-item.disabled.selected {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 3px solid rgba(59, 130, 246, 0.5);
}

.account-item.disabled.selected::after {
    content: "DISABLED";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.6rem;
    padding: 2px 5px;
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border-radius: 4px;
    font-weight: 600;
}

/* Selected account styling */
.account-item.selected {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--accent-tertiary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.account-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Ensure these match your theme */
.account-number {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.account-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    width: calc(100vw - 260px);
    max-width: calc(100vw - 260px);
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 100%;
}

.header-title h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Stats Cards - Fixed background and text colors to match dark theme */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

/* Account Dropdown Styles - Fixed */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.account-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-fast) ease;
}

.dropdown-toggle:hover {
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: var(--shadow-sm);
}

.dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-tertiary);
}

.dropdown-toggle .fa-chevron-down {
    transition: transform var(--transition-fast) ease;
    margin-left: 4px;
}

.dropdown-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-normal) ease, 
                transform var(--transition-normal) var(--ease-out);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-tertiary) var(--bg-tertiary);
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: var(--accent-tertiary);
    border-radius: 6px;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: var(--bg-tertiary);
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.account-item-dropdown {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-fast) ease;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideInUp var(--transition-normal) forwards;
    opacity: 0;
}

.account-item-dropdown:last-child {
    border-bottom: none;
}

.account-item-dropdown:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.account-item-dropdown.selected {
    background-color: rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--accent-tertiary);
}

.account-item-dropdown.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.account-item-dropdown.disabled:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Empty state for dropdown */
.account-item-dropdown.empty {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    cursor: default;
}

.account-item-dropdown.empty:hover {
    background-color: transparent;
}

/* Media queries for mobile responsiveness */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }
    
    .main-content {
        width: calc(100vw - 240px);
        max-width: calc(100vw - 240px);
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-width: unset;
        max-width: unset;
        height: auto;
        position: relative;
    }
    
    .main-content {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .dropdown-menu {
        width: 260px;
        right: -10px;
    }
}

/* Media query for large screens */
@media (min-width: 1440px) {
    .main-content {
        padding: 2rem;
    }
    
    .sidebar {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .main-content {
        width: calc(100vw - 280px);
        max-width: calc(100vw - 280px);
    }
}

.status {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding: 8px 0;
}

.status i {
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

.status.online {
    color: var(--accent-primary);
}

/* Enhanced Panel Styles with Animation */
.panel {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.75rem;
    animation: fadeIn var(--transition-normal) ease-out;
    transition: transform var(--transition-normal), 
                box-shadow var(--transition-normal);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.panel-header {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    animation: slideInRight var(--transition-normal) ease-out;
}

/* Stats Cards - Fixed background and text colors to match dark theme */
.stats-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--accent-primary);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    animation: slideInUp var(--transition-normal) forwards;
    opacity: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Cascade for stat cards */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-icon {
    margin-right: 15px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.stat-info {
    flex-grow: 1;
}

.stat-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info p {
    margin: 8px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

/* Accounts Table */
.accounts-table-container {
    margin-top: 2rem;
}

.accounts-table-container h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 10px;
    border-radius: var(--border-radius);
    background-color: var(--bg-tertiary);
    width: 100%;
    max-width: 100%;
}

.accounts-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.accounts-table th,
.accounts-table td {
    padding: 1rem;
    text-align: left;
}

.accounts-table th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accounts-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    animation: fadeIn var(--transition-normal) forwards;
    opacity: 0;
}

/* Cascade delay for table rows */
.accounts-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.accounts-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.accounts-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.accounts-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.accounts-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.accounts-table tbody tr:nth-child(n+6) { animation-delay: 0.3s; }

.accounts-table tr:last-child {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background-color: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast) ease;
}

.btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-icon.edit:hover {
    color: var(--accent-tertiary);
}

.btn-icon.delete:hover {
    color: var(--danger);
}

/* Form Styles */
.add-account-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.form-step.active {
    display: block;
    animation: slideInUp var(--transition-normal) forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--glow-accent);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.9rem 1.6rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-accent);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-message i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-secondary);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.message-box {
    padding: 1.5rem;
    margin: 15px 0;
    background-color: var(--bg-tertiary);
    border-left: 4px solid var(--accent-tertiary);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-primary);
}

/* History Panel Styles */
#history-panel .panel-header {
    border-bottom: 1px solid #3a3f48;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#history-panel .panel-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#history-panel .panel-actions {
    display: flex;
    justify-content: flex-end;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.data-table thead th {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #32363f;
}

.history-row {
    animation: fadeIn var(--transition-normal) forwards;
    opacity: 0;
}

.history-row:nth-child(1) { animation-delay: 0.05s; }
.history-row:nth-child(2) { animation-delay: 0.1s; }
.history-row:nth-child(3) { animation-delay: 0.15s; }
.history-row:nth-child(n+4) { animation-delay: 0.2s; }

.history-row .transaction-id {
    font-family: monospace;
    color: #a5c9ff;
}

.history-row .transaction-amount {
    color: #5df587;
    font-weight: 600;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-tertiary);
    animation: spin 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Loading pulse effect */
#loading-spinner {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Enhanced History Table */
.history-row {
    animation: fadeIn var(--transition-normal) forwards;
    opacity: 0;
}

.history-row:nth-child(1) { animation-delay: 0.05s; }
.history-row:nth-child(2) { animation-delay: 0.1s; }
.history-row:nth-child(3) { animation-delay: 0.15s; }
.history-row:nth-child(n+4) { animation-delay: 0.2s; }

/* Shimmer effect for loading states */
.shimmer {
    background: linear-gradient(90deg, 
        var(--bg-tertiary) 0%, 
        rgba(59, 130, 246, 0.1) 50%, 
        var(--bg-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Bank Transaction Styling */
.transaction-amount.debit {
    color: var(--danger); /* Use the danger color (red) from the theme */
    font-weight: 600;
}

.transaction-amount.credit {
    color: var(--accent-primary); /* Uses the accent color (green) from the theme */
    font-weight: 600;
}

.transaction-type.debit {
    color: var(--danger);
}

.transaction-type.credit {
    color: var(--accent-primary);
}

/* Panel switching animation */
.panel.hidden {
    display: none;
}

/* Settings Panel Styles */
.settings-description {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0.5rem 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    transition: .4s;
    border-radius: 34px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-secondary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-label {
    background-color: rgba(16, 185, 129, 0.3);
}

input:checked + .toggle-label:before {
    transform: translateX(30px);
    background-color: var(--accent-primary);
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.input-with-prefix {
    display: flex;
    align-items: center;
}

.input-prefix {
    background-color: var(--bg-tertiary);
    padding: 1rem;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: var(--text-secondary);
}

.input-with-prefix input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#settings-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    text-align: center;
}

#settings-message.success {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--accent-primary);
    border-left: 4px solid var(--accent-primary);
}

#settings-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

#settings-message.info {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--accent-tertiary);
    border-left: 4px solid var(--accent-tertiary);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.loading-container p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Button Outline style for reset button */
.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-tertiary);
    color: var(--accent-tertiary);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.sidebar-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 15px 20px;
}

/* Form row layout */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    width: 50%;
}

/* Status container for Hutch reload */
#hutch-status-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
}

#hutch-status-container.success {
    background-color: rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--accent-primary);
}

#hutch-status-container.error {
    background-color: rgba(239, 68, 68, 0.2);
    border-left: 4px solid var(--danger);
}

#hutch-status-container.info {
    background-color: rgba(59, 130, 246, 0.2);
    border-left: 4px solid var(--accent-tertiary);
}

/* Card input styling */
#hutch-card-number, 
#hutch-card-expiry, 
#hutch-card-cvv {
    font-family: monospace;
    letter-spacing: 1px;
}

/* Input with button (for paste functionality) */
.input-with-button {
    display: flex;
    width: 100%;
}

.input-with-button input {
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-with-button .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Paste button specific styling */
.paste-button {
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-fast) ease;
}

.paste-button:hover {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}

/* Phone number input with dropdown */
.input-with-dropdown {
    display: flex;
    position: relative;
    width: 100%;
}

.dropdown-select {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast) ease;
}

.dropdown-select:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.input-with-dropdown input {
    flex-grow: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.number-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1001; /* Ensures visibility */
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.number-dropdown.show {
    display: block !important; /* Force display when 'show' class is applied */
    animation: fadeIn var(--transition-fast) forwards;
}

.dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all var(--transition-fast) ease;
}

.dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

#account-balance-info {
    margin-bottom: 20px;
}

#account-balance-info .balance-value {
    font-weight: 600;
    color: var(--accent-primary);
}

@keyframes highlight-flash {
    0% { background-color: transparent; }
    50% { background-color: rgba(var(--accent-primary-rgb), 0.2); }
    100% { background-color: transparent; }
}

.highlight-input {
    animation: highlight-flash 0.3s ease;
}

/* Payment processing animation */
@keyframes processing {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#hutch-reload-button:disabled {
    background: linear-gradient(-45deg, var(--accent-primary), var(--accent-tertiary), var(--accent-secondary), var(--accent-primary));
    background-size: 400% 400%;
    animation: processing 3s ease infinite;
}

/* Bot Status Dashboard Styles */
.bot-status-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h3 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

.section-header h3 i {
    margin-right: 0.5rem;
    color: var(--accent-tertiary);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-card {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeIn var(--transition-normal) forwards;
    opacity: 0;
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.status-card.wide {
    grid-column: span 3;
}

.status-card-header {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-card-header i {
    margin-right: 0.8rem;
    color: var(--accent-tertiary);
}

.status-card-header span {
    font-weight: 500;
    color: var(--text-primary);
}

.status-card-content {
    padding: 1.2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot.online {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background-color: var(--danger);
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.status-label {
    color: var(--text-secondary);
}

.status-value {
    color: var(--text-primary);
    font-weight: 500;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.progress-container {
    margin-bottom: 1rem;
    text-align: center;
}

.progress-bar-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--accent-tertiary), var(--accent-primary));
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

#success-rate-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Live Processing Card */
.live-card-container {
    min-height: 70px;
    position: relative;
}

.empty-state {
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    font-style: italic;
}

.live-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-tertiary);
    animation: fadeIn var(--transition-fast) forwards;
}

.live-card-item:last-child {
    margin-bottom: 0;
}

.card-info {
    display: flex;
    align-items: center;
}

.card-icon {
    margin-right: 0.8rem;
    color: var(--accent-tertiary);
}

.card-details {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-family: monospace;
    letter-spacing: 1px;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-status {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.card-status.pending {
    color: var(--warning);
}

.card-status.success {
    color: var(--success);
}

.card-status.failed {
    color: var(--danger);
}

.processing-animation {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

.status-card-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.btn-warning {
    background-color: #f59e0b;
    color: #1f2937;
}

.btn-warning:hover {
    background-color: #d97706;
}

/* Toast notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.toast {
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-info {
    background-color: var(--bg-tertiary);
    border-left: 4px solid var(--accent-secondary);
}

.toast-success {
    background-color: rgba(16, 185, 129, 0.2);
    border-left: 4px solid var(--success);
}

.toast-error {
    background-color: rgba(239, 68, 68, 0.2);
    border-left: 4px solid var(--danger);
}

.toast-warning {
    background-color: rgba(245, 158, 11, 0.2);
    border-left: 4px solid var(--warning);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation delays for staggered appearance */
#bot-status-card { animation-delay: 0.1s; }
#card-collection-card { animation-delay: 0.2s; }
#processing-performance-card { animation-delay: 0.3s; }
#live-processing-card { animation-delay: 0.4s; }

/* System Logs styling */
.logs-container {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 0;
    margin-top: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-height: 600px;
    position: relative;
}

.logs-content {
    padding: 1rem;
    margin: 0;
    overflow-y: auto;
    max-height: 600px;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
    white-space: pre-wrap;
    word-break: break-all;
}

.logs-content .log-line {
    margin: 0;
    padding: 2px 0;
}

.logs-content .log-error {
    color: var(--danger);
}

.logs-content .log-warning {
    color: var(--warning);
}

.logs-content .log-info {
    color: var(--accent-tertiary);
}

.logs-content .log-success {
    color: var(--accent-primary);
}

.panel-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.action-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.form-select {
    padding: 0.9rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239ca3af'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 30px;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--glow-accent);
}

/* Autoscroll button active state */
#auto-refresh-logs.active {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

#auto-refresh-logs.active i {
    animation: spin 2s linear infinite;
}

/* Clear logs button */
#clear-logs {
    color: var(--danger);
    border-color: var(--danger);
}

#clear-logs:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Add this at the end of the file */

/* Dump Checker Styles */
.status-container {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    animation: fadeIn var(--transition-normal) forwards;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dump-card-result {
    animation: fadeIn var(--transition-normal) forwards;
    opacity: 0;
}

.result-list-container {
    margin-top: 2rem;
}

.result-list-container h4 {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.success-text {
    color: var(--success) !important;
}

.failure-text {
    color: var(--danger) !important;
}

.toggle-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch-container label {
    margin-bottom: 0;
}

#dump-file {
    padding: 0.5rem;
    background-color: var(--bg-tertiary);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
}

#dump-file:hover {
    border-color: var(--accent-tertiary);
}

.section-title {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

/* Animate the progress bar during checking */
@keyframes pulse-progress {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.progress-bar.checking {
    animation: pulse-progress 2s infinite;
}

/* Add to your existing animations */
@keyframes pulse-border {
    0% { border-color: var(--bg-tertiary); }
    50% { border-color: var(--accent-primary); }
    100% { border-color: var(--bg-tertiary); }
}

.logs-container.updating {
    animation: pulse-border 2s infinite;
}

/* Panel description spacing */
.panel-description {
    margin-bottom: 1rem;
}

/* Margin utility classes */
.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.import-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.phone-numbers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--bg-tertiary);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fix the phone-numbers-container styling */
.phone-numbers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--bg-tertiary);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Updated phone-number-entry with proper styling to match theme */
.phone-number-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(28, 33, 51, 0.8); /* Based on your --bg-tertiary but slightly darker */
    padding: 12px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.phone-number-entry:hover {
    background-color: rgba(35, 41, 63, 0.95); /* Slightly lighter on hover */
    border-left: 3px solid var(--accent-tertiary);
    box-shadow: var(--shadow-sm);
}

/* Fix dropdown functionality */
.number-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1001; /* Ensures visibility */
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.number-dropdown.show {
    display: block !important; /* Force display when 'show' class is applied */
    animation: fadeIn var(--transition-fast) forwards;
}

/* Improve input styling within entries */
.phone-number-entry input {
    background-color: rgba(21, 24, 36, 0.7); /* Based on --bg-secondary */
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-number-entry input:focus {
    border-color: var(--accent-tertiary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Improve dropdown select styling */
.dropdown-select {
    background-color: rgba(21, 24, 36, 0.7); /* Matching input style */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast) ease;
}

.dropdown-select:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
}

/* Enhance remove button styling */
.remove-number-btn {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-number-btn:hover {
    background-color: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

/* Improve input actions */
.input-with-actions {
    display: flex;
    position: relative;
    width: 100%;
}

.input-with-actions input {
    flex-grow: 1;
    padding-right: 40px;
}

.input-with-actions .btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Enhance card input field */
#hutch-card-input {
    font-family: monospace;
    letter-spacing: 1px;
}

/* Improve the import actions buttons */
.import-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.import-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.import-actions .btn-sm {
    padding: 8px 12px;
}

/* Fix status container */
#hutch-status {
    margin-top: 20px;
}

/* Pulse animation when processing */
@keyframes pulse-border {
    0% { border-color: var(--accent-tertiary); }
    50% { border-color: var(--accent-primary); }
    100% { border-color: var(--accent-tertiary); }
}

.phone-number-entry.processing {
    animation: pulse-border 1.5s infinite;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .phone-number-entry {
        flex-wrap: wrap;
    }
    
    .phone-number-entry .input-with-dropdown {
        flex: 1 0 100%;
        margin-bottom: 10px;
    }
    
    .amount-input-container {
        flex: 1;
    }
    
    .remove-number-btn {
        flex: 0 0 auto;
    }
    
    .import-actions {
        flex-direction: column;
    }
}

.total-amount-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: rgba(28, 33, 51, 0.8);
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 3px solid var(--accent-tertiary);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.total-label {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.total-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-tertiary);
}

/* Animation for total amount changes */
@keyframes highlight-total {
    0% { color: var(--accent-tertiary); }
    50% { color: var(--accent-primary); }
    100% { color: var(--accent-tertiary); }
}

.highlight-amount {
    animation: highlight-total 0.6s ease;
}

/* Success celebration styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.success-modal.show {
    opacity: 1;
    visibility: visible;
}

.success-modal-content {
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1520 100%);
    border: 2px solid var(--accent-tertiary);
    border-radius: 8px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: glow 2s ease-in-out infinite alternate;
}

.success-modal.show .success-modal-content {
    transform: translateY(0);
}

.success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.success-header i {
    color: #2ecc71;
    font-size: 48px;
    margin-bottom: 10px;
}

.success-header h2 {
    color: #2ecc71;
    font-size: 28px;
    margin: 0;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.success-details {
    padding: 15px 0;
    color: var(--text-primary);
}

.success-icon {
    font-size: 40px;
    margin: 10px 0;
    animation: bounce 1s ease infinite;
}

.success-phone-numbers {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.success-phone-entry {
    padding: 5px 0;
    font-weight: bold;
    color: var(--accent-tertiary);
}

.achievement {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;
}

.achievement-badge {
    font-size: 24px;
    margin-right: 10px;
    animation: rotate 3s linear infinite;
}

.achievement-text {
    color: gold;
    font-weight: bold;
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-success i {
    margin-right: 5px;
}

.pulse-success {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); }
    70% { transform: scale(1.1); }
    100% { transform: scale(0.95); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(46, 204, 113, 0.5), 0 0 10px rgba(46, 204, 113, 0.3); }
    to { box-shadow: 0 0 10px rgba(46, 204, 113, 0.7), 0 0 20px rgba(46, 204, 113, 0.5); }
}

.success-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 1s infinite;
    z-index: 10;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.7);
    transition: opacity 1s ease-out;
}

.success-indicator i {
    margin-right: 5px;
}

.success-indicator.fade-out {
    opacity: 0;
}

