/* === File Section (compact admin design) === */
#vdocipher-file-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 14px 14px;
    margin: 0px auto 12px auto;
    max-width: 650px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#vdocipher-file-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

#file-container {
    margin-top: 10px;
    font-size: 0.95em;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.file-item a {
    color: #0073aa;
    text-decoration: none;
    font-size: 0.95em;
}

.file-item a:hover {
    text-decoration: underline;
}

.file-delete {
    color: #999;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.file-delete:hover {
    color: #dc3545;
}

.file-buttons {
    font-size: 14px;
}
#file-remove-all-btn {
    background: #ffeaea;
    color: #c0392b;
    border: 1px solid #f5b7b1;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    margin-right: 8px;
}
#file-remove-all-btn:hover {
    background: #f8d7da;
    color: #a93226;
}
#file-upload-btn {
    background: #333;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease;
}
#file-upload-btn:hover {
    background: #555;
}
/* === Alerts === */
.vdocipher-alert {
    position: fixed;
    top: 10px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-family: 'Source Serif Pro', sans-serif;
}
.vdocipher-alert.show { opacity: 1; }
.vdocipher-alert.success { background-color: #d4edda; color: #155724; border-left: 5px solid #28a745; }
.vdocipher-alert.error { background-color: #f8d7da; color: #721c24; border-left: 5px solid #dc3545; }
.vdocipher-alert.warning { background-color: #fff5d5; color: #664d03; border-left: 5px solid rgb(255 203 78);}

.vdocipher-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vdocipher-alert-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    font-weight: 700;
    margin-left: 6px;
    opacity: 0.6;
}
.vdocipher-alert-close:hover { opacity: 1; }

/* === Video Header === */
.vdocipher-header {
    margin-bottom: 25px;
    text-align: center;
}

.vdocipher-header .vdocipher-title {
    font-size: 4rem !important;
    font-weight: 500 !important;
    color: #222 !important;
    margin: 20px auto !important;
    text-align: justify !important;
    display: block !important;
    line-height: 1.1;
    padding: 0 40px;
}

.view-info {
    margin: 10px 0;
    font-size: 15px;
    font-weight: 600;
}

.margin-left {
    margin-left: 40px;
}
/* ============================================================
  VDOCIPHER ADMIN ONLY STYLES
  ============================================================ */
#vdocipher-settings-wrapper .lecture-file-btn {
    margin: 0 !important;
}

.lecture-header {
    align-items: center;
    display: flex;
    gap: 8px;
}

.past-exam-btn {
    margin-left: auto;
    margin-right: 10px;
    background: #000;
    color: #fff !important;
    padding: 8px 22px 15px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border: 1px solid #000;
    margin: 0;
}
.past-exam-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
