* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5851DB;
    --primary-dark: #4540B8;
    --primary-light: #7B73FF;
    --secondary-color: #E91E63;
    --bg-color: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-color: #2C3E50;
    --text-secondary: #7F8C8D;
    --border-color: #E8ECEF;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --warning-color: #F39C12;
    --info-color: #3498DB;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-bottom: 70px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Login/Register */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
}

.auth-box h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input[type="date"],
.form-group input[type="time"] {
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(88, 81, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 81, 219, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.auth-switch {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-error {
    background: #ffebee;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.alert-success {
    background: #e8f5e9;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Messages */
.message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.message svg {
    flex-shrink: 0;
    stroke-width: 2.5;
}

.message-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.message-success svg {
    stroke: #28A745;
}

.message-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.message-error svg {
    stroke: #DC3545;
}

.message-warning {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEAA7;
}

.message-warning svg {
    stroke: #FFC107;
}

.message-info {
    background: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

.message-info svg {
    stroke: #17A2B8;
}

/* Header */
.header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Top Header Navigation */
.top-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition);
}

.header-left .logo:hover {
    opacity: 0.8;
}

.header-left .logo svg {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.user-button:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
}

.user-button img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-button .avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.user-button .user-name {
    font-weight: 500;
    color: var(--text-color);
    display: none;
}

@media (min-width: 768px) {
    .user-button .user-name {
        display: block;
    }
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.user-dropdown a svg {
    flex-shrink: 0;
    stroke-width: 2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
}

.main-content {
    min-height: calc(100vh - 150px);
}

/* Habitos Grid */
.habitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.habito-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.habito-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.habito-card:hover::before {
    transform: scaleX(1);
}

.habito-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.habito-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.habito-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
}

.stat-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.habito-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.habito-joined {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(88, 81, 219, 0.3);
}

.add-habito-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    color: white;
}

.add-habito-card svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 2;
}

.add-habito-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
}

.add-habito-card h3 {
    color: white;
    margin: 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    padding: 5px 20px;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.nav-item.active svg {
    fill: currentColor;
}

/* Search Page */
.search-box {
    margin: 20px 0;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.search-results {
    margin-top: 20px;
}

.search-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.result-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.result-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

/* Profile Page */
.profile-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.profile-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.profile-nick {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-email {
    color: var(--text-secondary);
    font-size: 14px;
}

.profile-actions {
    margin-top: 20px;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-danger {
    background: var(--error-color);
    margin-top: 10px;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* Registros */
.registro-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    max-width: 80%;
    transition: all 0.2s ease;
}

/* Registro propio (estilo WhatsApp) */
.registro-card.own {
    background: #DCF8C6;
    border-color: #B8E68C;
    margin-left: auto;
    margin-right: 10px;
}

/* Registro de amigos (estilo WhatsApp) */
.registro-card.friend {
    background: #FFFFFF;
    border-color: #E5E5E5;
    margin-left: 10px;
    margin-right: auto;
}

/* Móvil: registros más anchos */
@media (max-width: 768px) {
    .registro-card {
        max-width: 85%;
        padding: 15px;
    }
    
    .registro-card.own {
        background: #DCF8C6;
        border-color: #B8E68C;
        margin-right: 5px;
    }
    
    .registro-card.friend {
        background: #FFFFFF;
        border-color: #E5E5E5;
        margin-left: 5px;
    }
}

@media (max-width: 480px) {
    .registro-card {
        max-width: 90%;
        padding: 12px;
    }
    
    .registro-card.own {
        background: #DCF8C6;
        border-color: #B8E68C;
    }
    
    .registro-card.friend {
        background: #FFFFFF;
        border-color: #E5E5E5;
    }
}

.registro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.registro-header img {
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.registro-date {
    color: var(--text-secondary);
    font-size: 13px;
}

.registro-description {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
}

.registro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background: rgba(0, 0, 0, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
        padding-bottom: 20px;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 100%;
        width: 100%;
        max-height: calc(100vh - 80px);
        border-radius: var(--radius-md);
        padding: 16px;
        margin: 0 auto;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Previene zoom en iOS */
    }
    
    .form-group input[type="date"],
    .form-group input[type="time"] {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    width: auto;
    padding: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--error-color);
    background: rgba(231, 76, 60, 0.1);
    transform: rotate(90deg);
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.fab {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(88, 81, 219, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 50;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(88, 81, 219, 0.5);
}

.fab:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .fab {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    font-size: 14px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.btn-danger {
    background: var(--error-color);
}

.btn-danger:hover {
    background: #d32f2f;
}

/* Friend buttons */
.btn-friend {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-friend:hover {
    background: #4540b8;
    transform: translateY(-1px);
}

.btn-friend:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.friend-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.friend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: var(--bg-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Notification badge */
.notification-badge {
    position: absolute;
    top: 8px;
    right: calc(50% - 20px);
    background: var(--error-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Habito Preview for non-joined users */
.habito-preview {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.habito-preview .registro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #7B73FF;
        --secondary-color: #FF4081;
        --bg-color: #121212;
        --card-bg: #1E1E1E;
        --text-color: #E0E0E0;
        --text-secondary: #A0A0A0;
        --border-color: #333333;
        --success-color: #66BB6A;
        --error-color: #EF5350;
    }
    
    /* Alert adjustments for dark mode */
    .alert-error {
        background: #3a1f1f;
        color: #EF5350;
        border: 1px solid #EF5350;
    }
    
    .alert-success {
        background: #1f3a1f;
        color: #66BB6A;
        border: 1px solid #66BB6A;
    }
    
    /* Habito card shadow for dark mode */
    .habito-card {
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .habito-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
    
    /* Registro cards in dark mode */
    .registro-card.own {
        background: #2a3f2a;
        border-color: #3a5a3a;
    }
    
    .registro-card.friend {
        background: #2a2a2a;
        border-color: #3a3a3a;
    }
    
    /* Input fields in dark mode */
    .form-group input,
    .search-box input,
    textarea {
        background: #2a2a2a;
        color: var(--text-color);
        border-color: var(--border-color);
    }
    
    .form-group input::placeholder,
    .search-box input::placeholder,
    textarea::placeholder {
        color: var(--text-secondary);
    }
    
    /* Modal in dark mode */
    .modal {
        background: rgba(0, 0, 0, 0.8);
    }
    
    /* Tags in dark mode */
    .tag {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
    }
    
    /* Buttons secondary in dark mode */
    .btn-secondary {
        background: #2a2a2a;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }
    
    .btn-secondary:hover {
        background: var(--primary-color);
        color: white;
    }
    
    /* FAB shadow in dark mode */
    .fab {
        box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }
    
    .fab:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.8);
    }
    
    /* Friend card hover in dark mode */
    .friend-card:hover {
        box-shadow: 0 4px 8px rgba(255,255,255,0.1) !important;
    }
    
    /* Result item hover in dark mode */
    .result-item:hover {
        border-color: var(--primary-color);
    }
    
    /* Profile photo border in dark mode */
    .profile-photo {
        border-color: var(--primary-color);
    }
    
    .registro-header img {
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
}
