/* Ledger Red Team - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ledger-black: #121214;
    --ledger-dark: #1C1D20;
    --ledger-primary: #ae75f8;
    /* Ledger Purple */
    --ledger-text-gray: #ABABB1;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ledger-black);
    color: white;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Custom Utilities */
.glass-panel {
    background: rgba(28, 29, 32, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.input-ledger {
    background: #27282D;
    border: 1px solid #36373B;
    color: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', monospace;
    /* Monospace for seed words */
}

.input-ledger:focus {
    border-color: var(--ledger-primary);
    box-shadow: 0 0 0 2px rgba(174, 117, 248, 0.2);
    background: #2E2F34;
}

/* 24 Word Grid Styles */
.word-input-container {
    position: relative;
    transition: transform 0.2s;
}

.word-input-container:focus-within {
    transform: translateY(-1px);
}

.word-number {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #58585C;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    width: 20px;
    text-align: right;
}

.word-input {
    padding-left: 36px;
    /* Adjusted spacing */
    letter-spacing: 0.5px;
}

/* Loaders and Animations */
@keyframes spin-ledger {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(174, 117, 248, 0.1);
    border-radius: 50%;
    border-top-color: var(--ledger-primary);
    animation: spin-ledger 0.8s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Floating Help Button */
.help-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #FFFFFF;
    color: black;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 50;
}

.help-btn:hover {
    transform: translateY(-2px);
}