﻿    .bulk-create-container {
        padding: 20px;
        max-height: 75vh;
        overflow-y: auto;
    }
    
    .info-banner {
        background: linear-gradient(135deg, #e0f7f4 0%, #d0ede9 100%);
        padding: 14px 18px;
        border-radius: 8px;
        border-left: 4px solid #41bfad;
        margin-bottom: 20px;
        font-size: 13px;
    }
    
    .coach-section {
        margin-bottom: 24px;
        background: white;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .coach-header {
        padding: 14px 18px;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .coach-title {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
    }
    
    .coach-title h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #1f2937;
    }
    
    .coach-warning {
        font-size: 11px;
        color: #92400e;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 6px;
    }
    
    .coach-count-badge {
        background: #41bfad;
        color: white;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .org-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }
    
    .org-table thead {
        background: #f9fafb;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .org-table th {
        padding: 10px 14px;
        text-align: left;
        font-weight: 600;
        color: #4b5563;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .org-table th:first-child {
        width: 40px;
        text-align: center;
    }
    
    .org-table th:nth-child(2) {
        width: auto;
    }
    
    .org-table th:nth-child(3) {
        width: 120px;
    }
    
    .org-table th:nth-child(4) {
        width: 280px;
    }
    
    .org-table tbody tr {
        border-bottom: 1px solid #e5e7eb;
        transition: background 0.15s ease;
    }
    
    .org-table tbody tr:hover {
        background: #f9fafb;
    }
    
    .org-table tbody tr:last-child {
        border-bottom: none;
    }
    
    .org-table td {
        padding: 12px 14px;
        vertical-align: middle;
    }
    
    .org-table td:first-child {
        text-align: center;
    }
    
    .org-checkbox {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #41bfad;
    }
    
    .org-name-cell {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .org-icon {
        color: #41bfad;
        font-size: 16px;
    }
    
    .org-name {
        font-weight: 600;
        color: #1f2937;
        font-size: 13px;
    }
    
    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .status-badge.linked {
        background: #fef3c7;
        color: #92400e;
    }
    
    .status-badge.empty {
        background: #d1fae5;
        color: #065f46;
    }
    
    .actions-cell {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .action-group {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 6px;
        border: 2px solid #e5e7eb;
        background: white;
        cursor: pointer;
        transition: all 0.2s ease;
        flex: 1;
    }
    
    .action-group:hover {
        border-color: #41bfad;
        background: #f0fdfc;
    }
    
    .action-group.selected.create {
        border-color: #28a745;
        background: #e8f5f3;
    }
    
    .action-group.selected.link {
        border-color: #17a2b8;
        background: #e8f4ff;
    }
    
    .action-radio {
        width: 16px;
        height: 16px;
        margin: 0;
        cursor: pointer;
        accent-color: #41bfad;
    }
    
    .action-group.selected.create .action-radio {
        accent-color: #28a745;
    }
    
    .action-group.selected.link .action-radio {
        accent-color: #17a2b8;
    }
    
    .action-label {
        font-size: 12px;
        font-weight: 600;
        color: #374151;
        cursor: pointer;
        flex: 1;
        user-select: none;
    }
    
    .action-icon {
        font-size: 14px;
        min-width: 16px;
    }
    
    .action-icon.create {
        color: #28a745;
    }
    
    .action-icon.link {
        color: #17a2b8;
    }
    
    .action-check {
        color: #28a745;
        font-size: 14px;
        display: none;
    }
    
    .action-group.selected .action-check {
        display: block;
    }
    
    .action-group.selected.link .action-check {
        color: #17a2b8;
    }
    
    .link-user-info {
        font-size: 11px;
        color: #6b7280;
        margin-top: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .link-user-tag {
        background: #e0f2fe;
        color: #0369a1;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 500;
    }
    
    .user-select-dropdown {
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
    }
    
    .user-option {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.15s ease;
        margin-bottom: 4px;
    }
    
    .user-option:hover {
        background: #f3f4f6;
    }
    
    .user-option input[type="radio"] {
        width: 14px;
        height: 14px;
        margin: 0;
        accent-color: #17a2b8;
    }
    
    .user-option-info {
        flex: 1;
        font-size: 11px;
    }
    
    .user-option-name {
        font-weight: 600;
        color: #1f2937;
    }
    
    .user-option-email {
        color: #6b7280;
        font-size: 10px;
    }
    
    .disabled-row {
        opacity: 0.5;
        pointer-events: none;
    }

/* Standalone message when no organizations */
    .no-orgs-message-standalone {
        background: #ffffff;
        border-radius: 10px;
        padding: 12px 14px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
        border: 1.5px solid #e5e7eb;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease;
    }
    
    .no-orgs-message-standalone:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        border-color: #41bfad;
    }
    
    .coach-name-mini {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex-shrink: 0;
        max-width: 45%;
        min-width: 150px;
    }
    
    .coach-avatar-mini {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: linear-gradient(135deg, #41bfad 0%, #2ea896 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 13px;
        box-shadow: 0 1px 3px rgba(65, 191, 173, 0.3);
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .coach-name-mini span {
        font-size: 13px;
        font-weight: 600;
        color: #1f2937;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        word-wrap: break-word;
        flex: 1;
    }
    
    .message-content {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        padding-left: 12px;
        border-left: 1.5px solid #f3f4f6;
        min-width: 200px;
        max-width: 55%;
    }
    
    .message-content i {
        color: #41bfad;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .message-content p {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
        color: #6b7280;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
        flex: 1;
        min-width: 0;
    }
    
    .message-content span {
        font-size: 12px;
        color: #9ca3af;
        margin-left: 8px;
    }
    
    /* Grid to display 3 cards per row */
    .coaches-grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 16px;
        margin-bottom: 20px;
    }
    
    @media (max-width: 768px) {
        .coaches-grid-container {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }
    
    /* Modern design for coach cards - vertical compact */
    .coach-card-modern {
        background: #ffffff;
        border-radius: 10px;
        padding: 12px 14px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
        border: 1.5px solid #e5e7eb;
        transition: all 0.2s ease;
        display: flex;
        flex-direction: column;
    }
    
    .coach-card-modern:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        border-color: #41bfad;
        transform: translateY(-2px);
    }
    
    .coach-header-modern {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .coach-name-section {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    
    .coach-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: linear-gradient(135deg, #41bfad 0%, #2ea896 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 13px;
        box-shadow: 0 1px 3px rgba(65, 191, 173, 0.3);
        flex-shrink: 0;
    }
    
    .coach-info {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .coach-name {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #1f2937;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .coach-user-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 3px 8px;
        background: #e0f7f4;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        color: #15803d;
    }
    
    .coach-user-badge i {
        font-size: 10px;
        color: #41bfad;
    }
    
    /* Modern grid for organizations - vertical compact */
    .org-selection-grid {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }
    
    .org-checkbox-modern {
        cursor: pointer;
    }
    
    .org-checkbox-modern input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        margin: 0;
        accent-color: #22c55e;
        flex-shrink: 0;
        appearance: none;
        -webkit-appearance: none;
        border: 2px solid #d1d5db;
        border-radius: 3px;
        background-color: white;
        position: relative;
        transition: all 0.2s ease;
        outline: none;
        box-shadow: none;
    }
    
    .org-checkbox-modern input[type="checkbox"]:focus,
    .org-checkbox-modern input[type="checkbox"]:active {
        outline: none;
        box-shadow: none;
        border-color: #22c55e;
    }
    
    .org-checkbox-modern input[type="checkbox"]:checked {
        background-color: #22c55e;
        border-color: #22c55e;
        outline: none;
        box-shadow: none;
    }
    
    .org-checkbox-modern input[type="checkbox"]:checked:focus,
    .org-checkbox-modern input[type="checkbox"]:checked:active {
        outline: none;
        box-shadow: none;
    }
    
    .org-checkbox-modern input[type="checkbox"]:checked::after {
        content: 'âœ“';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
        line-height: 1;
    }
    
    .org-checkbox-content {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 8px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 5px;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    
    .org-checkbox-modern:hover .org-checkbox-content {
        border-color: #41bfad;
        background: #f0fdfc;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(65, 191, 173, 0.12);
    }
    
    .org-checkbox-modern:hover input[type="checkbox"] {
        accent-color: #2ea896;
    }
    
    .org-icon-wrapper {
        width: 22px;
        height: 22px;
        border-radius: 4px;
        background: linear-gradient(135deg, #e0f7f4 0%, #d0ede9 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #41bfad;
        font-size: 10px;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }
    
    .org-name-text {
        flex: 1;
        font-size: 11px;
        font-weight: 600;
        color: #374151;
        transition: color 0.2s ease;
        margin-right: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .org-checkmark {
        display: none;
    }
    
    .org-checkbox-content:has(input[type="checkbox"]:checked) {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
        border-color: #22c55e;
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
    }
    
    .org-checkbox-content:has(input[type="checkbox"]:checked) .org-icon-wrapper {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        color: white;
        transform: scale(1.05);
    }
    
    .org-checkbox-content:has(input[type="checkbox"]:checked) .org-name-text {
        color: #15803d;
        font-weight: 700;
    }
    
    .org-checkbox-content input[type="checkbox"]:checked ~ .org-icon-wrapper {
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        color: white;
        transform: scale(1.05);
    }
    
    .org-checkbox-content input[type="checkbox"]:checked ~ .org-name-text {
        color: #15803d;
        font-weight: 700;
    }
    
    /* Modern summary */
    .selection-summary {
        margin-top: 32px;
        padding: 20px 24px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border-radius: 16px;
        border: 2px solid #fbbf24;
        box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
    }
    
    .summary-content {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
        color: #92400e;
        font-weight: 600;
    }
    
    .summary-content i {
        font-size: 20px;
        color: #f59e0b;
    }
    
    .summary-content strong {
        font-size: 18px;
        color: #78350f;
    }
    
    
    /* Responsive */
    @media (max-width: 768px) {
        .coach-header-modern {
            flex-direction: column;
            gap: 16px;
        }
        
        .coach-message-section {
            margin-left: 0;
            align-self: flex-start;
        }
        
        .org-selection-grid {
            grid-template-columns: 1fr;
        }
    }
