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

:root {
    --primary-red: #e74c3c;
    --primary-blue: #3498db;
    --dark-red: #c0392b;
    --dark-blue: #2980b9;
    --light-red: #fadbd8;
    --light-blue: #d4edfc;
    --yellow: #f39c12;
    --green: #27ae60;
    --white: #ffffff;
    --dark: #2c3e50;
    --gray: #7f8c8d;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-red) 100%);
    min-height: 100vh;
    color: var(--dark);
    padding-top: 70px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-logo {
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.nav-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

h1, h2, h3 {
    font-family: 'Lobster', cursive;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: white;
    border-radius: 0 0 50px 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header h1 {
    font-size: 3.5rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    animation: bounce 2s infinite;
}

.header p {
    font-size: 1.3rem;
    margin-top: 10px;
    font-weight: 600;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--green) 0%, #1e8449 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-warning {
    background: linear-gradient(135deg, var(--yellow) 0%, #d68910 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    animation: slideIn 0.5s ease;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.quiz-card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

.quiz-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.quiz-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.quiz-card .category {
    display: inline-block;
    background: linear-gradient(135deg, var(--light-red), var(--light-blue));
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.quiz-card .creator {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.quiz-card .stats {
    display: flex;
    gap: 15px;
    color: var(--gray);
    font-size: 0.85rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 3px solid var(--light-blue);
    border-radius: 15px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.toggle-group {
    display: flex;
    gap: 15px;
}

.toggle-option {
    flex: 1;
    padding: 15px;
    border: 3px solid var(--light-blue);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.toggle-option.active {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.difficulty-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.difficulty-option {
    flex: 1;
    min-width: 100px;
    padding: 20px 15px;
    background: white;
    border: 3px solid #ecf0f1;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.difficulty-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.difficulty-option.active {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, #f8f9fa, #e8f4fd);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.difficulty-emoji {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.difficulty-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.toggle-option:hover {
    transform: scale(1.02);
}

.question-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.question-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lobster', cursive;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.question-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-top: 20px;
    color: var(--dark);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option {
    padding: 15px 20px;
    border: 3px solid var(--light-blue);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.option:hover {
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

.option.selected {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.option.correct {
    border-color: var(--green);
    background: #d5f4e6;
}

.option.incorrect {
    border-color: var(--primary-red);
    background: var(--light-red);
}

.option-label {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-blue);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: var(--light-blue);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.score-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.celebration {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    animation: pop 0.5s ease;
}

.celebration .emoji {
    font-size: 8rem;
    animation: bounce 0.5s ease infinite;
}

.celebration .message {
    font-family: 'Lobster', cursive;
    font-size: 3rem;
    color: var(--green);
    text-shadow: 2px 2px 0 white;
    margin-top: 20px;
}

.wrong-animation {
    animation: shake 0.5s ease;
}

.stats-bar {
    margin-top: 15px;
    padding: 15px;
    background: var(--light-blue);
    border-radius: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    width: 30px;
    font-weight: 700;
}

.stat-bar-container {
    flex: 1;
    height: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.stat-bar.correct-answer {
    background: var(--green);
}

.stat-percentage {
    width: 45px;
    text-align: right;
    font-weight: 600;
}

.leaderboard {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.leaderboard h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 2rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-red));
}

.leaderboard-item.first {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
}

.leaderboard-item.second {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.leaderboard-item.third {
    background: linear-gradient(135deg, #cd7f32, #daa06d);
}

.leaderboard-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-right: 15px;
}

.leaderboard-name {
    flex: 1;
    font-weight: 700;
    font-size: 1.1rem;
}

.leaderboard-score {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.feedback-box {
    background: linear-gradient(135deg, var(--light-blue), var(--light-red));
    border-radius: 25px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
}

.feedback-box h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feedback-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--dark);
}

.share-section {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 25px;
    margin-top: 20px;
}

.share-url {
    background: var(--light-blue);
    padding: 15px 25px;
    border-radius: 15px;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 20px 0;
}

.loading {
    text-align: center;
    padding: 50px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-blue);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.remix-buttons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.remix-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.remix-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.remix-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.remix-easier {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.remix-easier:hover {
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.remix-same {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.remix-harder {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.remix-harder:hover {
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.refresh-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(180deg);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .emoji {
    font-size: 5rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 25px;
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-blue);
    color: white;
}

.actions-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.overlay {
    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;
}

.modal {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    animation: pop 0.3s ease;
}

.modal h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s ease-in-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-grid {
        grid-template-columns: 1fr;
    }
    
    .toggle-group {
        flex-direction: column;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .nav-user {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 4px;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}

.nav-login {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
}

.nav-logout {
    background: rgba(192, 57, 43, 0.3);
}

.nav-admin {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.nav-user {
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
}

.flash-message {
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.flash-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.flash-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.flash-info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.login-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    text-align: center;
}

.login-container .page-title {
    font-family: 'Lobster', cursive;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.login-intro {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-form {
    text-align: left;
}

.login-form .form-input {
    width: 100%;
    padding: 18px 25px;
    border: 3px solid var(--light-blue);
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.login-form .form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.login-form .btn-large {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    margin-top: 10px;
}

.login-benefits {
    margin-top: 40px;
    text-align: left;
    padding: 25px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-red));
    border-radius: 20px;
}

.login-benefits h3 {
    font-family: 'Lobster', cursive;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
}

.login-benefits li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--dark);
}

.login-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.email-sent-message {
    padding: 20px;
}

.email-sent-message .email-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.email-sent-message h2 {
    font-family: 'Lobster', cursive;
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 15px;
}

.email-sent-message p {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.email-sent-message .small-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.admin-page {
    padding: 30px 20px;
}

.admin-page .page-title {
    font-family: 'Lobster', cursive;
    font-size: 2.5rem;
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 10px;
}

.admin-welcome {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-card .stat-number {
    display: block;
    font-family: 'Lobster', cursive;
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: var(--gray);
    font-weight: 600;
}

.admin-section {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.admin-section h2 {
    font-family: 'Lobster', cursive;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-blue);
}

.admin-table th {
    background: var(--light-blue);
    font-weight: 700;
    color: var(--dark);
}

.admin-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.admin-table .row-hidden {
    opacity: 0.6;
    background: rgba(231, 76, 60, 0.05);
}

.quiz-title-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.quiz-title-link:hover {
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-public {
    background: #d5f4e6;
    color: #1e8449;
}

.status-hidden {
    background: var(--light-red);
    color: var(--dark-red);
}

.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.no-quizzes {
    text-align: center;
    color: var(--gray);
    padding: 40px;
}

.copy-status {
    padding: 12px 20px;
    border-radius: 10px;
    margin: 15px 0;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.copy-status-success {
    background: linear-gradient(135deg, #d5f4e6, #a8e6cf);
    color: #1e8449;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.btn-icon {
    margin-right: 5px;
}

.social-share {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8ecf);
}

.social-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-facebook {
    background: linear-gradient(135deg, #1877f2, #0d5fc4);
}

.social-telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.social-email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
}

.social-more {
    background: linear-gradient(135deg, #7f8c8d, #5d6d7e);
    border: none;
    cursor: pointer;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    color: #95a5a6;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}
