/* ================================
   Admin Panel — CSS
   Unified single-page with transitions
   ================================ */

:root {
    --sidebar-width: 260px;
}

/* ========== TRANSITION LAYERS ========== */

/* Portfolio view — default visible */
.portfolio-view {
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        filter 0.4s ease;
}

body.show-login .portfolio-view {
    filter: blur(6px) brightness(0.5);
    pointer-events: none;
}

body.show-admin .portfolio-view {
    transform: translateX(-8%) scale(0.92);
    opacity: 0;
    pointer-events: none;
    filter: blur(4px);
}

/* Login overlay — centered, fades in */
.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.show-login .login-overlay {
    opacity: 1;
    visibility: visible;
}

.login-overlay .login-card {
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.show-login .login-overlay .login-card {
    transform: translateY(0) scale(1);
}

/* Admin panel — slides from right */
.admin-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease 0.1s;
    background: var(--bg-primary);
}

body.show-admin .admin-panel {
    transform: translateX(0);
    opacity: 1;
}

/* ========== LOGIN CARD ========== */
.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.login-logo {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.logo-bracket {
    color: var(--accent-primary);
}

.logo-text {
    color: var(--text-primary);
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper>i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 44px 12px 42px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.toggle-password {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.login-error {
    font-size: 0.85rem;
    color: var(--red);
    margin-bottom: 12px;
    min-height: 20px;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
    transition: var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.login-back:hover {
    color: var(--accent-secondary);
}

/* ========== OTP STYLES ========== */
.otp-step {
    margin-bottom: 20px;
}

.otp-email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 600;
}

.otp-email-display i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.otp-sent-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--green);
    margin-bottom: 24px;
    padding: 10px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: var(--radius-sm);
}

.otp-sent-info i {
    font-size: 1.1rem;
}

.otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
    caret-color: var(--accent-primary);
}

.otp-digit:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(108, 99, 255, 0.05);
}

.otp-digit:not(:placeholder-shown) {
    border-color: var(--accent-secondary);
}

.otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.otp-resend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    font-size: 0.85rem;
    color: var(--accent-secondary);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 10px;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.otp-resend:hover:not(:disabled) {
    background: var(--accent-glow);
}

.otp-resend:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .otp-digit {
        width: 40px;
        height: 48px;
        font-size: 1.2rem;
    }

    .otp-input-group {
        gap: 6px;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 2px 10px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-danger {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--red);
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-ghost {
    padding: 6px 10px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

/* ========== DASHBOARD LAYOUT ========== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
}

.sidebar-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 100px;
    background: var(--accent-glow);
    color: var(--accent-secondary);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.sidebar-nav {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    width: 100%;
    text-align: left;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.sidebar-link.active {
    color: var(--text-primary);
    background: var(--accent-glow);
}

.sidebar-link.active i {
    color: var(--accent-primary);
}

.sidebar-link i {
    font-size: 1.2rem;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 16px;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.sidebar-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--text-secondary);
    padding: 8px;
}

/* Main Content */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.topbar-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.topbar-actions {
    display: flex;
    gap: 12px;
}

.admin-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.admin-page {
    display: none;
}

.admin-page.active {
    display: block;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.page-header-actions {
    display: flex;
    gap: 10px;
}

/* ========== PROJECT LIST (Admin) ========== */
.project-admin-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.project-admin-card:hover {
    border-color: var(--border-hover);
}

.project-admin-card.hidden-project {
    opacity: 0.5;
}

.project-admin-drag {
    cursor: grab;
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.project-admin-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.project-admin-toggle.on {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.project-admin-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    transition: var(--transition-fast);
}

.project-admin-toggle.on::after {
    left: 23px;
}

.project-admin-info {
    flex: 1;
    min-width: 0;
}

.project-admin-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-admin-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-admin-meta span {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(108, 99, 255, 0.08);
    color: var(--accent-secondary);
}

.project-admin-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ========== GITHUB REPO LIST ========== */
.github-repo-list {
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.github-repo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.github-repo-item:hover {
    border-color: var(--border-hover);
}

.github-repo-item.selected {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}

.github-repo-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.github-repo-name {
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.github-repo-lang {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--accent-secondary);
}

/* ========== EDITOR CARDS ========== */
.editor-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.editor-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editor-card h4 i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.editor-card .form-group {
    margin-bottom: 16px;
}

.editor-card .form-group:last-child {
    margin-bottom: 0;
}

.editor-card input,
.editor-card textarea,
.editor-card select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.editor-card input:focus,
.editor-card textarea:focus,
.editor-card select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.editor-card textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.editor-card select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b8b9e'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.editor-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ========== SKILL ADMIN ========== */
.skill-admin-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.skill-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-admin-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-admin-header h4 i {
    color: var(--accent-primary);
}

.skill-admin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.skill-admin-tag select {
    background: transparent;
    border: none;
    color: var(--accent-secondary);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    cursor: pointer;
    outline: none;
    padding: 0;
}

.skill-admin-tag button {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.skill-admin-tag button:hover {
    color: var(--red);
}

/* ========== EXPERIENCE ========== */
.exp-admin-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.exp-admin-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ========== SETTINGS ========== */
.settings-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.settings-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-card h4 i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.settings-card.settings-danger h4 i {
    color: var(--red);
}

.settings-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.settings-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.settings-card .form-group {
    margin-bottom: 12px;
}

.settings-card .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.settings-card input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.settings-card input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    animation: modalIn 0.2s ease-out;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-body .form-group {
    margin-bottom: 16px;
}

.modal-body .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.modal-body input,
.modal-body textarea,
.modal-body select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.modal-body input:focus,
.modal-body textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.modal-body textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 250px;
}

.toast.success {
    border-color: rgba(74, 222, 128, 0.3);
}

.toast.success i {
    color: var(--green);
}

.toast.error {
    border-color: rgba(248, 113, 113, 0.3);
}

.toast.error i {
    color: var(--red);
}

.toast i {
    font-size: 1.2rem;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index: 200;
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: block;
    }

    .admin-content {
        padding: 20px;
    }

    .admin-topbar {
        padding: 12px 20px;
    }

    .exp-admin-card .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== LIGHT THEME OVERRIDES ========== */
[data-theme="light"] .admin-panel {
    background: var(--bg-primary);
}

[data-theme="light"] .sidebar {
    background: #f0f0f5;
}

[data-theme="light"] .admin-topbar {
    background: rgba(248, 248, 251, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .login-card {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .modal {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .toast {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .editor-card,
[data-theme="light"] .skill-admin-card,
[data-theme="light"] .exp-admin-card,
[data-theme="light"] .settings-card,
[data-theme="light"] .project-admin-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .login-overlay {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .modal-overlay {
    background: rgba(0, 0, 0, 0.3);
}