/* Mistake Vault Dashboard Styling */
.ttc-vault-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: k12-vault-fade-in 0.3s ease-out;
}

@keyframes k12-vault-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ttc-vault-container {
    background: #0f172a;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 28px;
    border: 1px solid rgba(244, 63, 94, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 63, 94, 0.2);
}

.ttc-vault-header {
    padding: 30px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttc-vault-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ttc-vault-grid {
    padding: 24px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.mistake-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.mistake-card:hover {
    background: rgba(244, 63, 94, 0.05);
    border-color: rgba(244, 63, 94, 0.4);
    transform: translateY(-5px);
}

.mistake-badge {
    background: #f43f5e;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.mistake-question {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mistake-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

.revenge-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #f43f5e;
    color: #f43f5e;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.revenge-btn:hover {
    background: #f43f5e;
    color: white;
}

/* Revenge Round UI */
.revenge-active-pane {
    padding: 40px;
    color: white;
}

.revenge-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    color: white;
    font-size: 1.2rem;
    margin: 20px 0;
    outline: none;
}

.revenge-input:focus {
    border-color: #f43f5e;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}