/* ========================================
   SETTINGS PAGE - Specific Styles
   ======================================== */

/* Override main padding for settings */
.settings-main {
    padding-bottom: 110px;
}

/* ========================================
   ADD BABY BUTTON
   ======================================== */
.add-baby-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-transform: none;
}

.add-baby-btn:hover {
    background: var(--primary-light);
}

/* ========================================
   BABY CARD
   ======================================== */
.baby-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
    transition: all 0.2s ease;
}

.baby-card:last-child {
    border-bottom: none;
}

.baby-card.selected {
    background: var(--primary-light);
}

.baby-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-soft) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.baby-info {
    flex: 1;
}

.baby-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.baby-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.badge-pregnant {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
}

.badge-born {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
}

.baby-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-select {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-select:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.selected-badge {
    background: var(--primary);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.baby-edit {
    color: var(--primary);
    font-size: 1.15rem;
    padding: 0.5rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.baby-edit:hover {
    background: var(--primary-light);
}

/* ========================================
   EMPTY STATE (Settings)
   ======================================== */
.empty-baby {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.empty-baby p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.btn-add-first {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.btn-add-first:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 143, 0.35);
}

/* ========================================
   PWA INSTALL SECTION
   ======================================== */
.pwa-install-section {
    margin-bottom: 1rem;
}

.pwa-install-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(76, 175, 80, 0.08) 100%);
    border-radius: 0 0 16px 16px;
}

.pwa-install-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-info {
    flex: 1;
    min-width: 0;
}

.pwa-install-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pwa-install-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.pwa-install-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-glow);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.pwa-install-btn:active {
    transform: translateY(0);
}

.pwa-install-btn i {
    font-size: 1.1rem;
}

/* ========================================
   VERSION INFO
   ======================================== */
.version-info {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.version-info .app-name {
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* ========================================
   MENU SECTION ANIMATIONS
   ======================================== */
.menu-section {
    animation: fadeInUp 0.4s ease forwards;
}

.menu-section:nth-child(1) {
    animation-delay: 0s;
}

.menu-section:nth-child(2) {
    animation-delay: 0.05s;
}

.menu-section:nth-child(3) {
    animation-delay: 0.1s;
}

.menu-section:nth-child(4) {
    animation-delay: 0.15s;
}

.menu-section:nth-child(5) {
    animation-delay: 0.2s;
}
