/* ==========================================================================
   RINCÓN LITERARIO ESCOLAR 6°A & 6°B - ESTILOS CSS
   ========================================================================== */

:root {
    /* Paleta Papel Cálido (Default) */
    --bg-main: #f5f0eb;
    --card-bg: #ffffff;
    --border-color: #e2d9cf;
    --primary: #8b4513;
    --primary-hover: #a0522d;
    --accent: #d97706;
    
    /* Textos */
    --text-main: #2d2621;
    --text-muted: #6e655f;
    --text-light: #9c9289;
    
    /* Badges Cursos */
    --badge-6a-bg: #dbeafe;
    --badge-6a-text: #1d4ed8;
    --badge-6a-border: #93c5fd;

    --badge-6b-bg: #fce7f3;
    --badge-6b-text: #be185d;
    --badge-6b-border: #f9a8d4;

    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-literary: 'Lora', serif;
    --font-handwriting: 'Caveat', cursive;

    /* Tamaño de Letra Lector */
    --reader-font-size: 1.1rem;
}

/* TEMAS VISUALES */
body.theme-school {
    --bg-main: #f0f4f9;
    --card-bg: #ffffff;
    --border-color: #cbd5e1;
    --primary: #1e40af;
    --primary-hover: #2563eb;
    --accent: #0284c7;
}

body.theme-spring {
    --bg-main: #f2f9f4;
    --card-bg: #ffffff;
    --border-color: #c6e6d0;
    --primary: #15803d;
    --primary-hover: #16a34a;
    --accent: #ca8a04;
}

body.theme-dark {
    --bg-main: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
    --primary: #38bdf8;
    --primary-hover: #7dd3fc;
    --accent: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* CABECERA ESCOLAR */
.school-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-icon {
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.school-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.school-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.header-right-area {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-6a {
    background: var(--badge-6a-bg);
    color: var(--badge-6a-text);
    border: 1px solid var(--badge-6a-border);
}

.badge-6b {
    background: var(--badge-6b-bg);
    color: var(--badge-6b-text);
    border: 1px solid var(--badge-6b-border);
}

.badge-secondary {
    background: rgba(0,0,0,0.06);
    color: var(--text-muted);
}

/* ÁREA DE USUARIO Y LOGIN */
.user-nav-area {
    display: flex;
    align-items: center;
}

.btn-auth-pill {
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
}

.user-avatar {
    font-size: 22px;
    color: var(--primary);
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-weight: 700;
    font-size: 13px;
}

.user-role-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.role-teacher { color: var(--accent); }
.role-student { color: var(--primary); }

.btn-user-logout {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.btn-user-logout:hover { color: #ef4444; }

/* NAV */
.main-nav {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-main);
}

.nav-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-admin-nav {
    margin-left: auto;
    border: 1px dashed var(--accent);
    color: var(--accent);
}

.btn-admin-nav:hover {
    background: var(--accent);
    color: #ffffff;
}

/* SPA SCREENS */
.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screen.active {
    display: block;
    opacity: 1;
}

.card-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* PESTAÑAS DE LA GALERÍA */
.gallery-tabs-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.gallery-tab {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-tab:hover { background: var(--bg-main); color: var(--text-main); }
.gallery-tab.active { background: var(--primary); color: #ffffff; border-color: var(--primary); }

/* GALERÍA Y FILTROS */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex-grow: 1;
    min-width: 250px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-box input:focus {
    border-color: var(--primary);
}

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

.filter-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-select-wrapper select {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-main);
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* GRID DE OBRAS */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.card-work {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-work:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.card-work-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-work-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-work-author {
    font-family: var(--font-handwriting);
    font-size: 20px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 12px;
}

.card-work-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.85;
}

.card-work-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: 0.7;
    border-top: 1px dashed currentColor;
    padding-top: 10px;
    margin-top: auto;
}

.card-reactions {
    display: flex;
    gap: 10px;
    font-weight: 700;
}

.draft-badge {
    background: #fef08a;
    color: #854d0e;
    border: 1px solid #fde047;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.star-badge {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.teacher-note-pill {
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: inline-block;
}

/* OBRA DEVUELTA PARA CORRECCIÓN */
.returned-badge {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.card-returned {
    border: 2px dashed #f97316 !important;
    opacity: 0.92;
    position: relative;
}

.card-returned::before {
    content: "✏️ Para corregir";
    position: absolute;
    top: -12px;
    left: 16px;
    background: #ea580c;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
}

.returned-teacher-note {
    background: rgba(234, 88, 12, 0.08);
    border-left: 3px solid #ea580c;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--text-main);
    margin: 10px 0;
    font-style: italic;
}

.returned-actions {
    margin-top: 12px;
}

/* Botón de devolver en admin */
.btn-return {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-return:hover { background: #fff7ed; color: #ea580c; border-color: #f97316; }
.btn-return.active-return { background: #fff7ed; color: #ea580c; border-color: #f97316; }

.row-returned td { background: rgba(249, 115, 22, 0.04); }

/* PUBLICAR */
.publish-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 25px;
}

.publish-form-card h2 {
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

.form-instruction {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.req { color: #ef4444; }

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group textarea {
    font-family: var(--font-literary);
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

.help-text {
    font-size: 11px;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.course-radio-group {
    display: flex;
    gap: 10px;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-label {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.radio-card input:checked + .radio-label {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-counter {
    text-align: right;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* BOTONES GENERALES */
.btn {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-submit {
    background: var(--primary);
    color: #ffffff;
    flex-grow: 1;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.btn-danger {
    background: #ef4444;
    color: #ffffff;
}

.btn-danger:hover { background: #dc2626; }

.btn-xs {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.w-full { width: 100%; justify-content: center; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.hidden { display: none !important; }

/* HOJA DE PAPEL ESTILO LITERARIO */
.paper-sheet {
    background: #fdfbf7;
    border: 1px solid #e7dfd3;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
}

.paper-parchment {
    background: #fbf6ec;
    border-color: #e5d8c3;
    color: #3d312a;
}

.paper-notebook {
    background: #ffffff;
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 100% 28px;
    color: #1f2937;
}

.paper-night {
    background: #182234;
    border-color: #334155;
    color: #f1f5f9;
}

.paper-spring {
    background: #fdf4f8;
    border-color: #fbcfe8;
    color: #831843;
}

.preview-card-container h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
}

.paper-cat-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.7;
    margin-bottom: 8px;
}

.paper-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.paper-author {
    font-family: var(--font-handwriting);
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.paper-divider {
    border: none;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
    margin-bottom: 20px;
}

.paper-body {
    font-family: var(--font-literary);
    font-size: var(--reader-font-size);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* CAJA DE NOTA DE LA PROFESORA EN EL LECTOR */
.teacher-comment-box {
    background: rgba(217, 119, 6, 0.1);
    border-left: 4px solid var(--accent);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.teacher-comment-header {
    font-weight: 700;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 4px;
}

.teacher-comment-text {
    font-style: italic;
    font-size: 14px;
}

/* ADMIN PANEL */
.admin-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.admin-actions-top {
    display: flex;
    gap: 10px;
}

.admin-create-user-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.mb-15 { margin-bottom: 15px; }

.admin-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-top: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.admin-table th {
    background: var(--bg-main);
    padding: 14px 16px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

/* MODALES */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.hidden { display: none !important; }

.modal-content {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.1);
    color: currentColor;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.modal-top-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-date {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.6;
}

.modal-actions-bar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

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

.btn-react {
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease;
}

.btn-react:hover { transform: scale(1.05); }
.btn-like { background: #fee2e2; color: #dc2626; }
.btn-claps { background: #fef3c7; color: #d97706; }
.btn-print { background: rgba(0, 0, 0, 0.08); color: currentColor; }

.active-reaction {
    outline: 2px solid currentColor;
    box-shadow: 0 0 10px currentColor;
}

/* MODAL DE AUTH (LOGIN / REGISTRO / RECUPERACIÓN) */
.modal-card-auth {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.auth-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.auth-tab {
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: var(--primary);
    color: #ffffff;
}

.auth-header {
    margin-bottom: 15px;
}

.auth-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
}

.auth-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.auth-footer-link {
    text-align: center;
    margin-top: 15px;
}

.auth-footer-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* MODAL DE PIN */
.modal-card-pin {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pin-icon {
    width: 50px;
    height: 50px;
    background: var(--badge-6a-bg);
    color: var(--badge-6a-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 15px auto;
}

/* ESTILOS DE AVATARES E ÍCONOS PIOLAS DE PERFIL */
.avatar-section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin: 10px 0 4px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.avatar-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 6px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    scrollbar-width: thin;
}

.avatar-option {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-main);
    flex-shrink: 0;
    min-width: 60px;
}

.avatar-option i {
    font-size: 20px;
    color: var(--primary);
}

.avatar-option span {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.avatar-option:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.avatar-option.active {
    border-color: var(--accent);
    background: #fef3c7;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

/* Íconos para pibas - tono rosa/violeta */
.avatar-option.girl i {
    color: #c026d3;
}

.avatar-option.girl:hover {
    border-color: #c026d3;
}

.avatar-option.girl.active {
    border-color: #c026d3;
    background: #fdf4ff;
    box-shadow: 0 0 10px rgba(192, 38, 211, 0.3);
}

.avatar-grid-girls {
    margin-bottom: 4px;
}

.avatar-img-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.btn-user-profile {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.btn-user-profile:hover { color: var(--primary); }

.photo-upload-row {
    display: flex;
    gap: 10px;
}

.btn-file-upload {
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.photo-preview {
    margin-top: 10px;
    text-align: center;
}

.photo-preview img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .publish-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
