/* Team Management Styles */

/* 1. Profile Card */
.team-profile-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 1px solid #e2e8f0;
}

.profile-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.profile-card h2 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.shop-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
}

.shop-id-badge .value {
    font-weight: 600;
    color: #0f172a;
    font-family: monospace;
    font-size: 1rem;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 2px;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #2563eb;
}

/* 2. Team Management Section */
.team-management-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 600;
}

.section-header p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Add Member Form */
.add-member-form {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.add-member-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    font-size: 0.9rem;
}

.add-member-form button {
    background: #0f172a;
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.add-member-form button:hover {
    background: #1e293b;
}

/* Members Table */
.members-table-container {
    overflow-x: auto;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
}

.members-table th {
    text-align: left;
    padding: 12px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.members-table td {
    padding: 14px 12px;
    font-size: 0.95rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.members-table tr:last-child td {
    border-bottom: none;
}

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.role-badge.owner {
    background: #ecfdf5;
    color: #059669;
}

.role-badge.staff {
    background: #eff6ff;
    color: #2563eb;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.remove-btn:hover {
    background: #fef2f2;
}

.text-right {
    text-align: right;
}