/* manager-card.css */
.manager-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-modal__container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.manager-modal__header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manager-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.manager-modal__tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    gap: 4px;
    padding: 0 8px;
}

.manager-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.manager-tab:hover {
    background: #f3f4f6;
}

.manager-tab.active {
    border-bottom-color: #4f46e5;
    color: #4f46e5;
}

.manager-modal__content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.manager-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.manager-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.manager-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.manager-badge.blocked {
    background: #fee2e2;
    color: #991b1b;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

.form-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.btn-save-settings {
    margin-top: 8px;
    padding: 10px 16px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.btn-save-settings:hover {
    background: #4338ca;
}

.settings-loading, .boats-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.error-message {
    color: #dc2626;
    padding: 20px;
    text-align: center;
}

.settings-view-only {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.readonly-value {
    padding: 10px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
}

.settings-note {
    margin-top: 16px;
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 13px;
    text-align: center;
}
