/* Layout Principal */
.profile-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    min-height: 600px;
}

/* Sidebar */
.profile-sidebar {
    flex-basis: 250px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
}

.user-brief {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #02b8ac, #09d3c6);
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-weight: bold;
}

/* Botones de Navegación */
.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    text-align: left;
    background: none;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 15px;
    color: #555;
}

.nav-btn:hover {
    background: #e0f2f1;
    color: #02b8ac;
}

.nav-btn.active {
    background: #02b8ac;
    color: white;
    font-weight: bold;
}

/* Contenido Principal */
.profile-content {
    flex: 1;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Formularios */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.readonly-input {
    background-color: #f5f5f5;
    color: #777;
    cursor: not-allowed;
}

.btn-save {
    background: #02b8ac;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-save:hover {
    background: #008e85;
}

/* Tabla de Pedidos */
.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.order-header h4 { margin: 0 0 5px 0; color: #02b8ac; }
.order-meta { font-size: 13px; color: #666; }
.order-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }

/* Responsive */
@media (max-width: 768px) {
    .profile-container { flex-direction: column; }
    .profile-sidebar { width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Modal Styles (Simple) */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
.modal-content { background: white; padding: 25px; border-radius: 10px; width: 90%; max-width: 500px; position: relative; }
.close-modal { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; }
.show-modal { display: flex; }