<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* BC Calculator Container - ISOLATED */
.bc-calculator-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

/* BC Header Styles */
.bc-calculator-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bc-calculator-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #B22222;
    margin-bottom: 15px;
    line-height: 1.2;
}

.bc-subtitle {
    font-size: 1.1rem;
    color: black;
    font-weight: 400;
}

/* BC Progress Bar */
.bc-progress-container {
    margin-bottom: 30px;
}

.bc-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.bc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B22222 0%, #D63747 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 14.28%;
}

.bc-progress-text {
    text-align: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
}

/* BC Score Container */
.bc-score-container {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 100;
}

.bc-score-circle {
    width: 120px;
    height: 120px;
    border: 4px solid #B22222;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    position: relative;
}

.bc-score-number {
    font-size: 2rem;
    font-weight: 700;
    color: #B22222;
    line-height: 1;
}

.bc-score-total {
    font-size: 1rem;
    color: #6C757D;
    font-weight: 500;
}

/* BC Form Styles */
.bc-calculator-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.bc-form-step {
    display: none;
    animation: bcFadeIn 0.5s ease;
}

.bc-form-step.active {
    display: block;
}

@keyframes bcFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.bc-form-step h2 {
    font-size: 1.8rem;
    color: #B22222;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid #B22222;
    padding-bottom: 15px;
}

.bc-step-description {
    font-size: 1rem;
    color: #6C757D;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* BC Form Groups */
.bc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.bc-form-group {
    flex: 1;
    margin-bottom: 25px;
}

.bc-form-group.half-width {
    flex: 0 0 calc(50% - 10px);
}

.bc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.95rem;
}

.bc-form-group input,
.bc-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #DEE2E6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.bc-form-group input:focus,
.bc-form-group select:focus {
    outline: none;
    border-color: #B22222;
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.1);
}

.bc-form-group input::placeholder {
    color: #adb5bd;
}

/* BC Phone Input */
.bc-phone-input {
    display: flex;
    gap: 10px;
}

.bc-phone-input input:first-child {
    flex: 0 0 80px;
    text-align: center;
    font-weight: 600;
}

.bc-phone-input input:last-child {
    flex: 1;
}

/* BC Help Text */
.bc-help-text {
    font-size: 0.9rem;
    color: #6C757D;
    margin-top: 5px;
    font-style: italic;
}

.bc-external-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: 10px !important;
    padding: 6px 12px !important;
    background: #007cba !important; /* BC Blue color */
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    border: 2px solid #007cba !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}

.bc-external-link-btn:hover {
    background: white !important;
    color: #007cba !important;
    border-color: #007cba !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.2) !important;
}

.bc-external-link-btn:active {
    transform: translateY(0) !important;
}

.bc-link-icon {
    font-size: 0.9rem !important;
    line-height: 1 !important;
}

.bc-link-text {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.bc-form-group label:has(.bc-external-link-btn) input[type="checkbox"] {
    margin-right: 8px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
}

/* Ensure the label with checkbox and link displays properly */
.bc-form-group label:has(.bc-external-link-btn) {
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    line-height: 1.4 !important;
}
.bc-form-group label:has(.bc-external-link-btn) {
    align-content: flex-start !important;
}

/* BC Checkbox Styling */
.bc-form-group input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #B22222;
    vertical-align: middle !important;
    top: -1px !important;
}

.bc-form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center !important;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.5 !important;
    gap: 8px !important;
}

/* BC Points Display */
.bc-points-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #B22222;
}

.bc-points-label {
    font-weight: 600;
    color: #2C3E50;
}

.bc-points-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #B22222;
    min-width: 30px;
}

.bc-view-table-btn {
    background: #B22222;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.bc-view-table-btn:hover {
    background: #8B1A1A;
    transform: translateY(-1px);
}

/* BC Summary Section */
.bc-summary-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #B22222;
}

.bc-score-breakdown {
    display: grid;
    gap: 15px;
}

.bc-score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #DEE2E6;
}

.bc-score-item.total {
    background: #B22222;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

/* BC Navigation Buttons */
.bc-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #B22222;
}

.bc-form-navigation button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

#bcPrevBtn {
    background: #6c757d;
    color: white;
}

#bcPrevBtn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

#bcNextBtn, #bcCalculateBtn {
    background: #B22222;
    color: white;
}

#bcNextBtn:hover, #bcCalculateBtn:hover {
    background: #8B1A1A;
    transform: translateY(-1px);
}

#bcPrevBtn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
}

/* BC Modal Styles */
.bc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.bc-modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    animation: bcModalSlideIn 0.3s ease;
}

@keyframes bcModalSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.bc-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #adb5bd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bc-close:hover {
    color: #B22222;
}

/* BC Result Modal */
.bc-result-modal-content {
    text-align: center;
    max-width: 600px;
}

.bc-result-modal-content h2 {
    color: #B22222;
    margin-bottom: 30px;
    font-size: 2rem;
}

.bc-result-score {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #B22222 0%, #D63747 100%);
    color: white;
    border-radius: 12px;
    display: inline-block;
    min-width: 200px;
}

.bc-result-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.bc-result-total {
    font-size: 1.5rem;
    opacity: 0.9;
}

.bc-result-message {
    margin: 30px 0;
    padding: 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bc-result-message.eligible {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bc-result-message.not-eligible {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bc-result-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.bc-btn-primary, .bc-btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.bc-btn-primary {
    background: #B22222;
    color: white;
}

.bc-btn-primary:hover {
    background: #8B1A1A;
    transform: translateY(-2px);
}

.bc-btn-secondary {
    background: #6c757d;
    color: white;
}

.bc-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* BC Points Tables */
.bc-points-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.bc-points-table th,
.bc-points-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #DEE2E6;
}

.bc-points-table th {
    background: #B22222;
    color: white !important;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.bc-points-table tr:hover {
    background: #f8f9fa;
}

.bc-points-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: #B22222;
}

/* BC Contact Form Styling */
#bc-contact-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px auto;
    max-width: 700px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: 2px solid #B22222;
    display: none;
    position: relative;
    z-index: 10;
}

#bc-contact-form h2 {
    color: #B22222;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

#bc-contact-form p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.bc-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.bc-form-container h3 {
    color: #B22222;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

#bc-contact-form .wpcf7-form {
    text-align: center;
}

#bc-contact-form .wpcf7-form-control-wrap {
    display: block;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    position: relative;
}

#bc-contact-form .form-row {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bc-contact-form .form-row:has(input[name="full-name"])::before {
    content: "Full Legal Name *";
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

#bc-contact-form .form-row:has(input[name="email-address"])::before {
    content: "Email Address *";
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

#bc-contact-form .form-row:has(input[name="phone"])::before {
    content: "Phone Number";
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

#bc-contact-form .form-row:has(input[name="citizenship"])::before {
    content: "Country of Citizenship";
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

#bc-contact-form .form-row:has(textarea[name="consultation-request"])::before {
    content: "Additional Questions or Comments";
    display: block;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

#bc-contact-form input[type="text"],
#bc-contact-form input[type="email"],
#bc-contact-form input[type="tel"],
#bc-contact-form textarea {
    width: 100% !important;
    max-width: 500px;
    margin: 0 auto;
    padding: 15px 20px;
    border: 2px solid #B22222 !important;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    display: block;
    background: white !important;
    color: #333 !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#bc-contact-form input[type="text"]:focus,
#bc-contact-form input[type="email"]:focus,
#bc-contact-form input[type="tel"]:focus,
#bc-contact-form textarea:focus {
    border-color: #8B1A1A !important;
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.2) !important;
    outline: none !important;
    background: #fafafa !important;
}

#bc-contact-form textarea[name="consultation-request"] {
    text-align: left;
    min-height: 120px;
    resize: vertical;
    color: #333 !important;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

#bc-contact-form textarea[name="consultation-request"]::placeholder {
    color: #888 !important;
    font-style: italic;
}

.bc-character-counter {
    text-align: center;
    margin: 5px auto 15px;
    font-size: 0.85rem;
    color: #666;
    max-width: 500px;
}

.bc-character-counter.warning {
    color: #dc3545;
    font-weight: 600;
}

.bc-character-counter.over-limit {
    color: #dc3545;
    font-weight: 700;
    animation: bcPulse 1s infinite;
}

@keyframes bcPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.bc-score-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #B22222;
    border-radius: 12px;
    padding: 25px;
    margin: 30px auto;
    text-align: center;
    max-width: 400px;
    overflow: hidden;
}

.bc-score-display h4 {
    color: #B22222;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#bc-display-score {
    font-family: 'Arial', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#bc-contact-form input[type="submit"],
#bc-contact-form .btn-submit {
    background: #B22222 !important;
    color: white !important;
    padding: 15px 25px;
    border: 2px solid #B22222 !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px auto 10px;
    display: block;
    width: auto;
    min-width: 280px;
    max-width: 90%;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    height: auto;
}

#bc-contact-form input[type="submit"]:hover,
#bc-contact-form .btn-submit:hover {
    background: white !important;
    color: #B22222 !important;
    border-color: #B22222 !important;
    transform: translateY(-2px);
}

#bc-contact-form .wpcf7-acceptance {
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bc-contact-form .wpcf7-acceptance input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #B22222;
}

#bc-contact-form .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #2C3E50;
    cursor: pointer;
    line-height: 1.4;
    text-align: center;
}

#bc-contact-form input[type="hidden"] {
    display: none !important;
}

#bc-contact-form input::placeholder,
#bc-contact-form textarea::placeholder {
    color: #888 !important;
    font-style: italic;
    opacity: 0.8;
}

#bc-contact-form.show {
    display: block;
    animation: bcSlideDown 0.5s ease;
}

@keyframes bcSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#bc-contact-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

#bc-contact-form .wpcf7-validation-errors {
    color: #dc3545;
    background: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 5px;
    padding: 10px;
    margin: 15px auto;
    max-width: 500px;
    text-align: center;
}

#bc-contact-form .wpcf7-mail-sent-ok {
    color: #155724 !important;
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    border-radius: 5px !important;
    padding: 15px !important;
    margin: 15px auto !important;
    max-width: 500px !important;
    text-align: center !important;
    font-weight: 600 !important;
    display: block !important;
}

#bc-contact-form .wpcf7-response-output {
    display: block !important;
    margin: 15px auto !important;
    text-align: center !important;
    max-width: 500px !important;
}

#bc-contact-form .wpcf7-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #B22222;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: bcSpin 1s linear infinite;
    margin: 20px auto;
    display: block !important;
}

#bc-contact-form input[name="citizenship"][style*="background"] {
    animation: bcHighlightCitizenship 3s ease-in-out;
}

@keyframes bcHighlightCitizenship {
    0% { background-color: #ffeb3b !important; }
    50% { background-color: #fff3cd !important; }
    100% { background-color: white !important; }
}

#bc-contact-form .wpcf7-form-control-wrap {
    margin-bottom: 15px;
    text-align: center;
}

#bc-contact-form .wpcf7-form p {
    text-align: center;
    margin: 20px auto;
}

#bc-contact-form .wpcf7-form br {
    display: none;
}

#bc-contact-form::after,
#bc-contact-form .wpcf7-form::after,
.bc-form-container::after {
    display: none !important;
}

.wpcf7 .screen-reader-response {
    display: none !important;
}

/* BC Responsive Design */
@media (max-width: 768px) {
    .bc-calculator-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .bc-calculator-header {
        padding: 30px 15px;
    }
    
    .bc-calculator-header h1 {
        font-size: 2rem;
    }
    
    .bc-calculator-form {
        padding: 25px;
    }
    
    .bc-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .bc-form-group.half-width {
        flex: 1;
    }
    
    .bc-score-container {
        position: static;
        margin: 20px auto;
        width: fit-content;
    }
    
    .bc-phone-input {
        flex-direction: row;
        gap: 10px;
    }
    
    .bc-phone-input input:first-child {
        flex: 0 0 70px;
    }
    
    .bc-phone-input input:last-child {
        flex: 1;
    }
    
    .bc-result-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .bc-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .bc-points-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #bc-contact-form {
        padding: 25px;
        margin: 20px auto;
        max-width: 95%;
    }

    .bc-form-container {
        max-width: 100%;
    }

    #bc-contact-form input[type="text"],
    #bc-contact-form input[type="email"],
    #bc-contact-form input[type="tel"],
    #bc-contact-form textarea {
        max-width: 100%;
        padding: 12px 15px;
    }

    .bc-score-display {
        padding: 20px;
        margin: 20px auto;
    }

    #bc-contact-form .form-row {
        margin-bottom: 15px;
    }

    #bc-contact-form .wpcf7-form-control-wrap {
        max-width: 100%;
    }

    .bc-external-link-btn {
        margin-left: 8px !important;
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
        gap: 5px !important;
    }
    
    .bc-link-text {
        font-size: 0.8rem !important;
    }
    
    .bc-link-icon {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .bc-calculator-header h1 {
        font-size: 1.7rem;
    }
    
    .bc-calculator-form {
        padding: 20px;
    }
    
    .bc-form-step h2 {
        font-size: 1.5rem;
    }
    
    .bc-score-circle {
        width: 100px;
        height: 100px;
    }
    
    .bc-score-number {
        font-size: 1.7rem;
    }
    
    .bc-result-number {
        font-size: 2.5rem;
    }

    #bc-contact-form {
        padding: 20px;
    }

    .bc-form-container h3 {
        font-size: 1.4rem;
    }

    #bc-contact-form input[type="submit"],
    #bc-contact-form .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 200px;
        max-width: 95%;
    }

    .bc-score-display {
        padding: 15px 10px;
        margin: 15px auto;
        max-width: 95%;
    }

    .bc-score-display h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    #bc-display-score {
        font-size: 0.85rem;
    }

    #bc-display-score div:first-child {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .bc-external-link-btn {
        margin-left: 6px !important;
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
    }
    
    .bc-link-text {
        font-size: 0.75rem !important;
    }
    
    .bc-link-icon {
        font-size: 0.8rem !important;
    }
    
    /* For very small screens, you can stack the button below */
    .bc-form-group label:has(.bc-external-link-btn) {
        flex-wrap: wrap !important;
    }

    .bc-form-group label:has(.bc-external-link-btn) input[type="checkbox"] {
        margin-top: 3px !important;
    }
    .bc-checkbox-line {
        margin-bottom: 6px !important;
    }
    
    .bc-external-link-btn {
        margin-left: 30px !important;
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
    }
}

.bc-external-link-btn:focus {
    outline: 2px solid #007cba !important;
    outline-offset: 2px !important;
}

/* BC Animation for score updates */
.bc-score-update {
    animation: bcScoreUpdate 0.5s ease;
}

@keyframes bcScoreUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.bc-loading {
    opacity: 0.6;
    pointer-events: none;
}

.bc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #B22222;
    border-radius: 50%;
    animation: bcSpin 1s linear infinite;
}

@keyframes bcSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}</style>
<!-- end Simple Custom CSS and JS -->
