/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    /* Tennis Green Colors */
    --tennis-green: #4CAF50;
    --tennis-green-dark: #388E3C;
    --tennis-green-light: #81C784;
    
    /* Adventure Colors */
    --adventure-orange: #FF6B35;
    --adventure-blue: #2196F3;
    --adventure-yellow: #FFC107;
    
    /* Neutral Colors */
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --border-color: #E0E6ED;
    
    /* Status Colors */
    --status-watched: #4CAF50;
    --status-watchlater: #2196F3;
    --status-reading: #FF6B35;
    --status-finished: #4CAF50;
    --status-wanttoread: #FFC107;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================
   Container & Layout
   ============================ */
.container {
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* ============================
   Header
   ============================ */
.app-header {
    background: linear-gradient(135deg, var(--tennis-green) 0%, var(--tennis-green-dark) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header.home-header {
    background: linear-gradient(135deg, var(--adventure-orange) 0%, #E8491D 100%);
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.header-title h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.mascot-icon {
    font-size: 1.8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.back-button, .profile-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.back-button:hover, .profile-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-spacer {
    width: 40px;
}

/* ============================
   Authentication Pages
   ============================ */
.auth-page {
    background: linear-gradient(135deg, var(--adventure-blue) 0%, #1976D2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-icon {
    font-size: 3rem;
    color: var(--tennis-green);
    margin-bottom: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.auth-header h1 {
    font-family: 'Fredoka', sans-serif;
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tennis-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Mascot Selector */
.mascot-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.mascot-option {
    aspect-ratio: 1;
    border: 3px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.mascot-option:hover {
    transform: scale(1.05);
    border-color: var(--tennis-green-light);
}

.mascot-option.selected {
    border-color: var(--tennis-green);
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.05);
}

.error-message {
    background: #FFEBEE;
    color: #C62828;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    display: none;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tennis-green) 0%, var(--tennis-green-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #D0D6DD;
}

.btn-danger {
    background: #F44336;
    color: white;
}

.btn-danger:hover {
    background: #D32F2F;
}

.auth-footer {
    text-align: center;
    color: var(--text-secondary);
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tennis-green);
    text-decoration: none;
    font-weight: 600;
    margin-top: 5px;
}

.link-button:hover {
    text-decoration: underline;
}

/* ============================
   Home Page
   ============================ */
.home-page {
    padding: 20px;
}

.hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.hero-icon {
    font-size: 4rem;
    color: var(--adventure-orange);
    margin-bottom: 10px;
}

.hero-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.hero-section p {
    color: var(--text-secondary);
}

.cards-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.feature-card.coming-soon:hover {
    transform: none;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.card-icon.video-card {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
}

.card-icon.book-card {
    background: linear-gradient(135deg, var(--adventure-orange) 0%, #E8491D 100%);
    color: white;
}

.feature-card.coming-soon .card-icon {
    background: linear-gradient(135deg, #A8A8A8 0%, #8F8F8F 100%);
    color: white;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-stats {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--border-color);
}

.coming-soon-badge {
    font-size: 1.5rem;
    color: #FFC107;
}

.home-footer {
    text-align: center;
    padding: 20px;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

/* ============================
   Videos Page
   ============================ */
.videos-page, .books-page, .profile-page {
    padding: 20px;
}

.page-intro {
    text-align: center;
    margin-bottom: 30px;
}

.intro-icon {
    font-size: 3rem;
    color: var(--adventure-orange);
    margin-bottom: 10px;
}

.page-intro h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.page-intro p {
    color: var(--text-secondary);
}

/* Search and Sort Container */
.search-sort-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Filter Tabs */
.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--tennis-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.sort-box {
    position: relative;
    min-width: 180px;
}

.sort-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    pointer-events: none;
}

.sort-box select {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.sort-box select:focus {
    outline: none;
    border-color: var(--tennis-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-tab {
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-md);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.filter-tab:hover {
    border-color: var(--tennis-green-light);
}

.filter-tab.active {
    background: var(--tennis-green);
    color: white;
    border-color: var(--tennis-green);
}

/* Loading & Error Messages */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.error-message-box {
    background: #FFEBEE;
    border: 2px solid #FFCDD2;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    color: #C62828;
}

.error-message-box strong {
    display: block;
    margin-bottom: 5px;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-pagination {
    padding: 8px 16px;
    background: var(--tennis-green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-pagination:hover:not(:disabled) {
    background: var(--tennis-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-pagination:disabled {
    background: #BDC3C7;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-pagination i {
    font-size: 0.9rem;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge.watched {
    background: var(--status-watched);
    color: white;
}

.status-badge.watchLater {
    background: var(--status-watchlater);
    color: white;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.video-date {
    color: var(--adventure-blue);
}

.video-views {
    color: var(--adventure-orange);
}

.video-actions {
    display: flex;
    gap: 10px;
}

.btn-video-action {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-sm);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.9rem;
}

.btn-video-action:hover {
    border-color: var(--tennis-green-light);
}

.btn-video-action.active {
    background: var(--tennis-green);
    color: white;
    border-color: var(--tennis-green);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ============================
   Books Page
   ============================ */
.add-book-button {
    margin-bottom: 30px;
}

.books-sections {
    display: grid;
    gap: 25px;
}

.book-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid;
}

.section-header.reading {
    border-color: var(--status-reading);
    color: var(--status-reading);
}

.section-header.want-to-read {
    border-color: var(--status-wanttoread);
    color: var(--status-wanttoread);
}

.section-header.finished {
    border-color: var(--status-finished);
    color: var(--status-finished);
}

.section-header h3 {
    flex: 1;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
}

.section-header .count {
    background: currentColor;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.books-list {
    display: grid;
    gap: 12px;
}

.book-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.book-card:hover {
    border-color: var(--tennis-green-light);
    background: rgba(76, 175, 80, 0.02);
}

.book-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.section-header.reading ~ .books-list .book-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--status-reading);
}

.section-header.want-to-read ~ .books-list .book-icon {
    background: rgba(255, 193, 7, 0.1);
    color: var(--status-wanttoread);
}

.section-header.finished ~ .books-list .book-icon {
    background: rgba(76, 175, 80, 0.1);
    color: var(--status-finished);
}

.book-details {
    flex: 1;
}

.book-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.book-author {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.book-notes {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 6px;
}

.book-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--tennis-green);
    color: white;
}

.empty-section {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
}

.empty-section i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.3;
}

/* ============================
   Modal
   ============================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
}

.close-button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background: var(--text-secondary);
    color: white;
}

.status-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.status-btn {
    padding: 12px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-sm);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-btn:hover {
    border-color: var(--tennis-green-light);
}

.status-btn.selected {
    background: var(--tennis-green);
    color: white;
    border-color: var(--tennis-green);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* ============================
   Profile Page
   ============================ */
.profile-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.profile-mascot {
    font-size: 5rem;
    margin-bottom: 15px;
    color: var(--tennis-green);
}

.profile-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.profile-card p {
    color: var(--text-secondary);
}

.profile-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.profile-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-value {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.profile-value:last-child {
    margin-bottom: 0;
}

.settings-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.settings-section h3 {
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.setting-info > i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.setting-info strong {
    display: block;
    margin-bottom: 2px;
}

.setting-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.setting-item .btn {
    width: auto;
    padding: 10px 20px;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 600px) {
    .header-title h1 {
        font-size: 1.2rem;
    }
    
    .hero-section h2 {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    
    .filter-tab {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .status-buttons {
        grid-template-columns: 1fr;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .setting-item .btn {
        width: 100%;
    }
}

@media (min-width: 600px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
