/* Compact List Styles (iOS Settings Style) */
.contact-section {
    margin-top: 32px;
    padding: 0 16px;
    /* Add horizontal padding to avoid edges */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compact-list {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--surface);
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border);
    position: relative;
}

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

.list-item:hover {
    background: var(--background);
}

.list-item:active {
    background: rgba(0, 0, 0, 0.05);
}

/* Iconic Colors */
.item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    color: white;
}

.map-icon {
    background: linear-gradient(135deg, #FF9500, #FF5E3A);
}

.phone-icon {
    background: linear-gradient(135deg, #34C759, #30B0C7);
}

.chat-icon {
    background: linear-gradient(135deg, #007AFF, #5856D6);
}

/* Content Layout */
.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.item-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.item-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-subtitle.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Chevron */
.chevron-icon {
    color: var(--text-muted);
    opacity: 0.5;
    margin-left: 8px;
    width: 16px;
    height: 16px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .contact-section {
        border-top: none;
    }

    .compact-list {
        background: #1c1c1e;
        border-color: #38383a;
    }

    .list-item {
        background: #1c1c1e;
        border-bottom-color: #38383a;
        color: white;
    }

    .list-item:hover {
        background: #2c2c2e;
    }

    .item-title {
        color: white;
    }

    .item-subtitle {
        color: #8e8e93;
    }
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .contact-section {
        padding: 0 16px;
        /* Keep padding on mobile */
    }

    .item-icon {
        width: 28px;
        height: 28px;
    }

    .item-icon svg {
        width: 16px;
        height: 16px;
    }
}