/* ════════════════════════════════════
   BREEDER PROFILE SETUP — [ca_breeder_profile_setup]
════════════════════════════════════ */
.ca-bp-page {
    max-width: 760px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0 4px;
}

.ca-bp-head {
    text-align: center;
    margin-bottom: 28px;
}
.ca-bp-head h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -.02em;
}
.ca-bp-head p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.ca-bp-form {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 28px 26px;
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
}

/* Photo row */
.ca-bp-photo-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}
.ca-bp-photo-preview {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
    background: #f1f5f9;
}
.ca-bp-photo-controls { flex: 1; }
.ca-bp-photo-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}
.ca-bp-photo-controls input[type="file"] {
    font-size: 13px;
    color: #475569;
}
.ca-bp-photo-hint {
    font-size: 12px;
    color: #94a3b8;
    margin: 6px 0 0;
}

/* Field grid */
.ca-bp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
}
.ca-bp-field { display: flex; flex-direction: column; gap: 6px; }
.ca-bp-field-full { grid-column: 1 / -1; }
.ca-bp-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.ca-bp-required { color: #dc2626; }

.ca-bp-field input,
.ca-bp-field textarea {
    padding: 10px 13px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.ca-bp-field input:focus,
.ca-bp-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* Licenses */
.ca-bp-licenses {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}
.ca-bp-licenses h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}
.ca-bp-license-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
}
.ca-bp-license-block:last-child { margin-bottom: 0; }
.ca-bp-license-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.ca-bp-license-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}
.ca-bp-radio-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 7px 16px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.ca-bp-radio-pill input { display: none; }
.ca-bp-radio-pill.ca-bp-radio-checked {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.ca-bp-license-number-wrap {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ca-bp-license-number-wrap label {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
}
.ca-bp-license-number-wrap input {
    padding: 9px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
}

/* Error + submit */
.ca-bp-error {
    margin-top: 18px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    color: #dc2626;
    font-size: 13px;
}
.ca-bp-submit-btn {
    width: 100%;
    margin-top: 22px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37,99,235,.32);
    transition: transform .14s, box-shadow .14s;
}
.ca-bp-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(37,99,235,.4); }
.ca-bp-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Breeds You Breed — searchable multi-select */
.ca-bp-multiselect { position: relative; }
.ca-bp-multiselect-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 8px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.ca-bp-multiselect-pills:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.ca-bp-breed-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 4px 6px 4px 12px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}
.ca-bp-breed-remove {
    background: none;
    border: none;
    color: #1d4ed8;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
}
.ca-bp-breed-remove:hover { background: #dbeafe; }
.ca-bp-breeds-search-input {
    border: none !important;
    outline: none;
    flex: 1;
    min-width: 140px;
    padding: 6px 4px !important;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
}
.ca-bp-multiselect-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    z-index: 40;
}
.ca-bp-breed-option {
    padding: 9px 14px;
    font-size: 13.5px;
    color: #1e293b;
    cursor: pointer;
}
.ca-bp-breed-option:hover { background: #f1f5f9; }
.ca-bp-breed-option.ca-bp-breed-selected {
    color: #94a3b8;
    background: #f8fafc;
}
.ca-bp-breed-option.ca-bp-breed-selected::after {
    content: " ✓ added";
    font-size: 11px;
}
.ca-bp-no-results {
    color: #94a3b8;
    font-style: italic;
    cursor: default;
}
.ca-bp-no-results:hover { background: transparent; }

@media (max-width: 600px) {
    .ca-bp-grid { grid-template-columns: 1fr; }
    .ca-bp-photo-row { flex-direction: column; text-align: center; }
}
