@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --glass-bg: rgba(18, 18, 22, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.04);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    --glass-blur: blur(20px);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-xs: 10px;
}

body {
    background: #050507;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 30px 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(5, 5, 7, 0.88), rgba(5, 5, 7, 0.88)),
        radial-gradient(ellipse 600px 400px at 30% 20%, rgba(40, 40, 80, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 70% 80%, rgba(20, 20, 50, 0.12) 0%, transparent 70%),
        url('../background.jpg') center/cover no-repeat;
    pointer-events: none;
    z-index: 0;
    animation: bgEntrance 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
}

@keyframes bgEntrance {
    0% { transform: scale(1.12); opacity: 0; filter: brightness(1.4); }
    100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}

.container {
    text-align: center;
    padding: 30px 20px;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.big-title {
    margin-bottom: 36px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
}

.big-title .line {
    display: block;
    opacity: 0;
    animation: titleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    white-space: nowrap;
}

.big-title .line-1 {
    font-size: 64px;
    letter-spacing: 18px;
    animation-delay: 0.1s;
}

.big-title .line-2 {
    font-size: 34px;
    letter-spacing: 14px;
    animation-delay: 0.35s;
}

.big-title .line-3 {
    font-size: 46px;
    letter-spacing: 12px;
    animation-delay: 0.6s;
}

.big-title .shine {
    background: linear-gradient(90deg, #fff 0%, #9aa0b4 45%, #fff 50%, #c8ccda 55%, #fff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: titleSheen 5s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.12));
}

@keyframes titleReveal {
    0% { opacity: 0; transform: translateY(14px); letter-spacing: 0.5em; filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes titleSheen {
    0%, 60%, 100% { background-position: 100% 0; }
    35% { background-position: 0% 0; }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: visible;
}

.glass-card.search-card {
    z-index: 10;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.glass-card-modal {
    background: rgba(12, 12, 16, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.glass-card-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.search-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-box input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.search-box input:focus {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.select-custom {
    position: relative;
    width: 100%;
}

.select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    text-align: left;
}

.select-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.select-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.select-custom.open .select-btn svg {
    transform: rotate(180deg);
}

.select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(16, 16, 22, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    overflow: hidden;
}

.select-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.select-custom.open .select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    display: block;
    width: 100%;
    padding: 11px 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align: left;
    border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}

.select-option:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
}

.select-option.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
}

.filters {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.filters.active {
    display: flex;
}

.filters input {
    width: 100%;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

.filters input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.filters input:focus {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.btn-search {
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-search::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.btn-search:hover {
    background: #fff;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-search:active {
    transform: translateY(0) scale(0.99);
}

.btn-search:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quota-bar {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quota-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.quota-visual {
    display: flex;
    gap: 8px;
}

.quota-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

.quota-dot.used {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.api-card {
    padding: 16px;
    margin-top: 16px;
}

.api-key-section {
    display: flex;
    gap: 8px;
}

.api-key-section input {
    flex: 1;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    outline: none;
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

.api-key-section input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.api-key-section input:focus {
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-key {
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-xs);
}

.btn-key:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.status {
    margin-top: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    min-height: 18px;
    letter-spacing: 1px;
}

.status.error {
    color: #ff6b6b;
}

.status.success {
    color: #6bffb8;
}

.discord-btn {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(88, 101, 242, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.25);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: rgba(88, 101, 242, 0.35);
    border-color: rgba(88, 101, 242, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.15);
}

.results-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.results-modal.active {
    display: flex;
}

.results-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.results-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 680px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-shrink: 0;
}

.results-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-act {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-act:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-act:active {
    transform: scale(0.96);
}

#resultsBody {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin: 0 -6px 0 0;
    padding-right: 8px;
    border-radius: var(--radius-sm);
}

.toast {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 5;
}

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

.results-header h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.btn-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.result-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.result-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.result-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.result-card-head h3 {
    margin-bottom: 0;
    word-break: break-word;
}

.btn-copy-result {
    flex-shrink: 0;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-result:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.result-row:last-child {
    border-bottom: none;
}

.result-label {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 500;
}

.result-value {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

.confidence-bar {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.confidence-bar .bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.confidence-bar .bar-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.confidence-bar .label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    min-width: 36px;
    text-align: right;
    font-weight: 500;
}

.sources {
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination button {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
}

.pagination button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.pagination button.active {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-color: transparent;
}

.no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    padding: 40px;
    font-size: 13px;
    letter-spacing: 3px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.info-box {
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.info-box strong {
    color: rgba(255, 255, 255, 0.8);
}

.fiches-btn {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 2000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(18, 18, 22, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.fiches-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.fiches-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    justify-content: center;
    align-items: center;
}

.fiches-modal.active {
    display: flex;
}

.fiches-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fiches-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 680px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: rgba(12, 12, 16, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.fiches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-shrink: 0;
}

.fiches-header h2 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

#fichesList {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
}

.fiches-toast {
    top: 14px;
}

.fiche-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 12px;
}

.fiche-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.fiche-card-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.fiche-card-head .fiche-count {
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.25);
}

.fiche-reason {
    display: inline-block;
    margin: 4px 0 14px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.fiche-field {
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fiche-field:last-child {
    border-bottom: none;
}

.fiche-field .fl {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.fiche-field .fv {
    color: rgba(255, 255, 255, 0.75);
    word-break: break-all;
}

.fiche-field .fv.blurred {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.2s;
}

.fiche-field.revealed .fv.blurred {
    filter: none;
}

.fiche-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.fiche-input {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xs);
    color: #fff;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.fiche-input:focus {
    border-color: rgba(255, 255, 255, 0.15);
}

.fiche-input.area {
    min-height: 60px;
    resize: vertical;
}

.fiche-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    padding: 50px 20px;
    font-size: 13px;
    letter-spacing: 2px;
}

.btn-fiche {
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-fiche:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.btn-fiche.danger {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 80, 80, 0.2);
    color: rgba(255, 120, 120, 0.7);
}

.btn-fiche.danger:hover {
    background: rgba(255, 80, 80, 0.12);
    border-color: rgba(255, 80, 80, 0.3);
    color: #ff8a8a;
}

.no-fiches {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    padding: 50px 20px;
    font-size: 13px;
    letter-spacing: 2px;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
