.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .profile-container {
        padding: 0.5rem;
    }
    
    .profile-section {
        padding: 1rem;
    }
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.profile-header h1 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.profile-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.profile-section h2 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-container .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.profile-container .info-row:last-child {
    border-bottom: none;
}

.profile-container .info-label {
    font-weight: 500;
    color: #6c757d;
    min-width: 120px;
}

.profile-container .info-value {
    color: #495057;
    font-weight: 500;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-container .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 44px;
}

.profile-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.profile-container .btn-primary {
    background: #007bff;
    color: white;
}

.profile-container .btn-primary:hover {
    background: #0056b3;
}

.profile-container .btn-secondary {
    background: #6c757d;
    color: white;
}

.profile-container .btn-secondary:hover {
    background: #545b62;
}

.profile-container .btn-danger {
    background: #dc3545;
    color: white;
}

.profile-container .btn-danger:hover {
    background: #c82333;
}

.profile-container .btn-icon {
    font-size: 1rem;
}

/* List Container Styles */
.list-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    background: #f8f9fa;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background: #f8f9fa;
}

.bullet {
    color: #007bff;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.item-text {
    color: #495057;
    font-weight: 500;
}

.no-items {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Floating Action Button Styles */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fab {
    min-width: 140px;
    height: 48px;
    border-radius: 24px;
    background: #667eea;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 16px;
}

.fab:hover:not(:disabled) {
    background: #5a6fd8;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.fab:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.fab-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.fab-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toggle Switch */
.profile-container .toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.profile-container .toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.profile-container .toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background: #ced4da;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.profile-container .toggle-label:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-container .toggle-switch input[type="checkbox"]:checked + .toggle-label {
    background: #667eea;
}

.profile-container .toggle-switch input[type="checkbox"]:checked + .toggle-label:before {
    transform: translateX(26px);
}

/* Warning Styles */
.profile-warning {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.profile-warning p {
    margin: 0;
    font-weight: 600;
}

/* Loading Styles */
.profile-container .loading-message {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .profile-container {
        padding: 0.5rem;
    }

    .profile-header h1 {
        font-size: 1.75rem;
    }

    .profile-section {
        padding: 1rem;
    }

    .profile-container .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .profile-container .info-row:has(.toggle-switch) {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .profile-container .info-value {
        text-align: left;
        margin-left: 0;
    }

    .profile-actions {
        gap: 0.5rem;
    }

    /* Mobile availability grid */
    .availability-header {
        grid-template-columns: 80px 1fr 1fr 1fr;
    }

    .availability-row {
        grid-template-columns: 80px 1fr 1fr 1fr;
    }

    .day-label {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .time-label {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .checkbox-cell {
        padding: 0.5rem;
    }

    .checkbox-cell input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    /* Mobile FAB adjustments - position above bottom navigation */
    .fab-container {
        bottom: 85px; /* 70px mobile nav height + 15px spacing */
        right: 15px;
    }

    .fab {
        min-width: 120px;
        height: 44px;
        font-size: 0.85rem;
        padding: 0 12px;
    }

    .fab-text {
        font-size: 0.85rem;
    }
} 
