/**
 * LinkCentre Games - Typing Test Styles
 * World-class typing speed test with beautiful UI
 */

/* ============================================
   MODE SELECTION BAR
   ============================================ */
.typing-mode-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mode-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mode-buttons {
    display: flex;
    gap: 6px;
}

.mode-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #555;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-btn:hover {
    border-color: #00498f;
    color: #00498f;
}

.mode-btn.active {
    background: linear-gradient(135deg, #00498f 0%, #0066cc 100%);
    border-color: transparent;
    color: #fff;
}

/* ============================================
   LIVE STATS BAR
   ============================================ */
.typing-stats-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 73, 143, 0.08);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 12px;
    min-width: 130px;
}

.stat-icon {
    font-size: 24px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00498f;
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-wpm .stat-value {
    color: #16a34a;
}

.stat-accuracy .stat-value {
    color: #0891b2;
}

.stat-timer .stat-value {
    color: #ea580c;
}

/* ============================================
   TYPING WRAPPER
   ============================================ */
.typing-wrapper {
    position: relative;
    margin-bottom: 24px;
}

/* ============================================
   TEXT CONTAINER
   ============================================ */
.typing-text-container {
    position: relative;
    padding: 32px;
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    border-radius: 16px;
    border: 2px solid #e8eef3;
    min-height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
}

.typing-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    line-height: 2;
    color: #94a3b8;
    word-break: break-word;
    user-select: none;
}

.typing-text .char {
    position: relative;
    transition: color 0.1s ease;
}

.typing-text .char.correct {
    color: #16a34a;
}

.typing-text .char.incorrect {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 2px;
}

.typing-text .char.current {
    color: #00498f;
    background: rgba(0, 73, 143, 0.1);
    border-radius: 2px;
}

.typing-text .char.extra {
    color: #dc2626;
    opacity: 0.7;
}

/* Cursor */
.typing-cursor {
    position: absolute;
    width: 2px;
    height: 1.6rem;
    background: #00498f;
    animation: cursorBlink 1s ease-in-out infinite;
    transition: left 0.05s ease, top 0.05s ease;
    border-radius: 1px;
    display: none;
}

.typing-cursor.smooth {
    transition: left 0.1s ease, top 0.1s ease;
}

.typing-cursor.active {
    display: block;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Font size variants */
.typing-text.font-small {
    font-size: 1.1rem;
}

.typing-text.font-large {
    font-size: 1.7rem;
}

/* ============================================
   INPUT AREA
   ============================================ */
.typing-input-wrapper {
    position: relative;
}

.typing-input {
    width: 100%;
    padding: 16px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #333;
    outline: none;
    transition: all 0.2s ease;
}

.typing-input:focus {
    border-color: #00498f;
    box-shadow: 0 0 0 4px rgba(0, 73, 143, 0.1);
}

.typing-input::placeholder {
    color: #94a3b8;
}

.input-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 73, 143, 0.95);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-hint.visible {
    opacity: 1;
}

.hint-icon {
    font-size: 16px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.typing-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 16px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

/* ============================================
   RESULTS OVERLAY
   ============================================ */
.results-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.results-overlay.active {
    opacity: 1;
    visibility: visible;
}

.results-content {
    text-align: center;
    padding: 30px;
    max-width: 500px;
}

.results-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.results-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #00498f;
    margin: 0 0 24px;
}

.results-main-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
}

.main-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.wpm-stat .main-stat-value {
    color: #16a34a;
}

.accuracy-stat .main-stat-value {
    color: #0891b2;
}

.main-stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.main-stat-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
    background: #e0f2fe;
    color: #0891b2;
}

.main-stat-badge.beginner { background: #fee2e2; color: #dc2626; }
.main-stat-badge.average { background: #fef3c7; color: #d97706; }
.main-stat-badge.good { background: #dcfce7; color: #16a34a; }
.main-stat-badge.fast { background: #e0f2fe; color: #0891b2; }
.main-stat-badge.pro { background: #ede9fe; color: #7c3aed; }
.main-stat-badge.elite { background: linear-gradient(135deg, #ffc107, #ff6b6b); color: #fff; }

.results-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}

.detail-label {
    font-size: 13px;
    color: #666;
}

.detail-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.results-comparison {
    padding: 12px 20px;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #16a34a;
    font-weight: 600;
}

.results-comparison.new-record {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    color: #d97706;
}

.results-comparison.new-record::before {
    content: '🎉 ';
}

.results-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================
   CONTROLS
   ============================================ */
.typing-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: #00498f;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    border-color: #00498f;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.control-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   KEYBOARD VISUALIZATION
   ============================================ */
.keyboard-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
}

.keyboard-title {
    font-size: 14px;
    font-weight: 700;
    color: #00498f;
    margin: 0 0 16px;
    text-align: center;
}

.keyboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.keyboard-row {
    display: flex;
    gap: 6px;
}

.key {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3a3a5c 0%, #2a2a4a 100%);
    border: 1px solid #4a4a6a;
    border-radius: 6px;
    color: #b0b0c0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 #1a1a2e, 0 6px 8px rgba(0, 0, 0, 0.3);
}

.key.wide {
    min-width: 70px;
}

.key.extra-wide {
    min-width: 100px;
}

.key.space {
    min-width: 280px;
}

.key.pressed {
    background: linear-gradient(180deg, #00498f 0%, #0066cc 100%);
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #003366, 0 3px 4px rgba(0, 0, 0, 0.3);
}

.key.correct-press {
    background: linear-gradient(180deg, #16a34a 0%, #22c55e 100%);
    color: #fff;
}

.key.incorrect-press {
    background: linear-gradient(180deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
}

/* ============================================
   HELP SECTION
   ============================================ */
.typing-help {
    padding: 24px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-radius: 16px;
    border-left: 4px solid #00498f;
}

.typing-help h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #00498f;
    margin: 0 0 16px;
}

.typing-help ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.typing-help li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    border-bottom: 1px dashed #c3ddf0;
}

.typing-help li:last-child {
    border-bottom: none;
}

.typing-help kbd {
    display: inline-block;
    padding: 3px 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    box-shadow: 0 2px 0 #bbb;
}

/* ============================================
   PERSONAL BESTS WIDGET
   ============================================ */
.personal-bests {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 73, 143, 0.1);
    overflow: hidden;
}

.personal-bests-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.personal-bests-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.personal-bests-title::before {
    content: '🎖️';
}

.personal-bests-badge {
    font-size: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.personal-bests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.best-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
}

.best-item:nth-child(2n) {
    border-right: none;
}

.best-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.best-icon {
    font-size: 24px;
}

.best-content {
    display: flex;
    flex-direction: column;
}

.best-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00498f;
}

.best-label {
    font-size: 11px;
    color: #888;
}

/* ============================================
   SPEED GUIDE WIDGET
   ============================================ */
.speed-guide {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 73, 143, 0.1);
    overflow: hidden;
}

.speed-guide-header {
    padding: 14px 18px;
    background: #f0f7ff;
    border-bottom: 1px solid #e2e8f0;
}

.speed-guide-title {
    font-size: 13px;
    font-weight: 700;
    color: #00498f;
    margin: 0;
}

.speed-guide-list {
    padding: 8px 0;
}

.speed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid #f1f5f9;
}

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

.speed-range {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.speed-range.beginner { background: #fee2e2; color: #dc2626; }
.speed-range.average { background: #fef3c7; color: #d97706; }
.speed-range.good { background: #dcfce7; color: #16a34a; }
.speed-range.fast { background: #e0f2fe; color: #0891b2; }
.speed-range.pro { background: #ede9fe; color: #7c3aed; }
.speed-range.elite { background: linear-gradient(135deg, #ffc107, #ff6b6b); color: #fff; }

.speed-label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */
.achievements-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 73, 143, 0.1);
    overflow: hidden;
}

.achievements-header {
    padding: 14px 18px;
    background: #f0f7ff;
    border-bottom: 1px solid #e2e8f0;
}

.achievements-title {
    font-size: 13px;
    font-weight: 700;
    color: #00498f;
    margin: 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px;
}

.achievement {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffc107 0%, #ffda6a 100%);
    cursor: pointer;
    transition: all 0.2s ease;
}

.achievement:hover {
    transform: scale(1.1);
}

.achievement.locked {
    background: #e2e8f0;
    filter: grayscale(1);
    opacity: 0.5;
}

.achievement.locked:hover {
    filter: grayscale(0.5);
    opacity: 0.8;
}

.achievement-icon {
    font-size: 24px;
}

/* ============================================
   MORE GAMES WIDGET
   ============================================ */
.more-games-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 73, 143, 0.1);
    padding: 20px;
}

.more-games-title {
    font-size: 14px;
    font-weight: 700;
    color: #00498f;
    margin: 0 0 14px;
}

.more-games-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.more-games-list li {
    border-bottom: 1px solid #f1f5f9;
}

.more-games-list li:last-child {
    border-bottom: none;
}

.more-games-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.more-games-list a:hover {
    color: #00498f;
    padding-left: 8px;
}

.more-games-list span:first-child {
    font-size: 18px;
}

.game-status {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
}

.game-status.live {
    background: #dcfce7;
    color: #16a34a;
}

.game-status.soon {
    background: #fef3c7;
    color: #d97706;
}

/* ============================================
   SHORTCUTS WIDGET
   ============================================ */
.shortcuts-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 73, 143, 0.1);
    padding: 20px;
}

.shortcuts-title {
    font-size: 14px;
    font-weight: 700;
    color: #00498f;
    margin: 0 0 14px;
}

.shortcuts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shortcut {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.shortcut kbd {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f7ff;
    border: 1px solid #d0e3f0;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #00498f;
}

/* ============================================
   SETTINGS MODAL
   ============================================ */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.settings-modal.active {
    opacity: 1;
    visibility: visible;
}

.settings-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.settings-modal.active .settings-modal-content {
    transform: scale(1);
}

.settings-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.settings-modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00498f;
    margin: 0;
}

.settings-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-close:hover {
    background: #e0e0e0;
    color: #333;
}

.settings-modal-body {
    padding: 24px;
}

.setting-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.setting-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.setting-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.setting-label-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.setting-label input[type="checkbox"] {
    display: none;
}

.setting-label .toggle {
    width: 48px;
    height: 26px;
    background: #e2e8f0;
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
}

.setting-label .toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.setting-label input[type="checkbox"]:checked + .toggle {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.setting-label input[type="checkbox"]:checked + .toggle::after {
    left: 25px;
}

.setting-buttons {
    display: flex;
    gap: 8px;
}

.setting-btn {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.setting-btn:hover {
    border-color: #00498f;
    color: #00498f;
}

.setting-btn.active {
    background: linear-gradient(135deg, #00498f 0%, #0066cc 100%);
    border-color: transparent;
    color: #fff;
}

.settings-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .keyboard-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .typing-mode-bar {
        flex-direction: column;
        gap: 16px;
    }
    
    .typing-stats-bar {
        gap: 12px;
    }
    
    .stat-item {
        min-width: auto;
        padding: 10px 14px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .typing-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .typing-text-container {
        padding: 20px;
        min-height: 150px;
    }
    
    .results-main-stats {
        gap: 20px;
    }
    
    .main-stat-value {
        font-size: 2.2rem;
    }
    
    .results-details {
        grid-template-columns: 1fr;
    }
    
    .personal-bests-grid {
        grid-template-columns: 1fr;
    }
    
    .best-item {
        border-right: none !important;
    }
}

@media (max-width: 480px) {
    .typing-controls {
        flex-direction: column;
    }
    
    .control-btn {
        width: 100%;
        justify-content: center;
    }
    
    .mode-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mode-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
}
