/* START KOL BP Profile Fields Widget */
.kol-profile-fields-list {
    padding: 0;
    margin: 0;
}

/* LIGHT THEME */
html.light-mode .kol-profile-field-row {
    display: block;
    padding: 8px 0;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.6;
}

html.light-mode .kol-profile-field-row .dashicons {
    color: #6b7280;
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

html.light-mode .kol-field-label {
    color: #1f2937 !important;
    margin-right: 4px;
    display: inline;
}

html.light-mode .kol-field-label::after {
    content: ': ';
}

html.light-mode .kol-field-value {
    color: #1f2937;
    word-wrap: break-word;
    display: block;
    margin-left: 26px;
    margin-top: 2px;
}

html.light-mode .kol-field-value.kol-field-empty {
    color: #9ca3af;
    font-style: italic;
}

html.light-mode .kol-field-value a {
    color: #0891b2;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

html.light-mode .kol-field-value a:hover {
    color: #0e7490;
    text-decoration: underline;
}

/* DARK THEME */
html.dark-mode .kol-profile-field-row {
    display: block;
    padding: 8px 0;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

html.dark-mode .kol-profile-field-row .dashicons {
    color: #a0a0a0;
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

html.dark-mode .kol-field-label {
    color: #c0d59f !important;
    margin-right: 4px;
    display: inline;
}

html.dark-mode .kol-field-label::after {
    content: ': ';
}

html.dark-mode .kol-field-value {
    color: #e0e0e0;
    word-wrap: break-word;
    display: block;
    margin-left: 26px;
    margin-top: 2px;
}

html.dark-mode .kol-field-value.kol-field-empty {
    color: #808080;
    font-style: italic;
}

html.dark-mode .kol-field-value a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

html.dark-mode .kol-field-value a:hover {
    color: #2e7d32;
    text-decoration: underline;
}

/* LIGHT THEME MODAL */
html.light-mode .kol-external-link-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

html.light-mode .kol-external-link-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

html.light-mode .kol-external-link-modal-content {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0px 0px 6px 0px #d1d5db;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

html.light-mode .kol-external-link-modal-content h3 {
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 12px;
}

html.light-mode .kol-external-link-modal-content p {
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.6;
}

html.light-mode .kol-external-link-modal-url {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 4px;
    color: #0891b2;
    word-break: break-all;
    margin-bottom: 15px;
    font-family: monospace;
    font-size: 13px;
}

/* DARK THEME MODAL */
html.dark-mode .kol-external-link-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

html.dark-mode .kol-external-link-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark-mode .kol-external-link-modal-content {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    box-shadow: 0px 0px 6px 0px #545856;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

html.dark-mode .kol-external-link-modal-content h3 {
    color: #e0e0e0;
    margin-top: 0;
    margin-bottom: 12px;
}

html.dark-mode .kol-external-link-modal-content p {
    color: #b0b0b0;
    margin-bottom: 12px;
    line-height: 1.6;
}

html.dark-mode .kol-external-link-modal-url {
    background-color: #0d0d0d;
    border: 1px solid #3a3a3a;
    padding: 10px;
    border-radius: 4px;
    color: #4CAF50;
    word-break: break-all;
    margin-bottom: 15px;
    font-family: monospace;
    font-size: 13px;
}

/* LIGHT THEME BUTTONS */
html.light-mode .kol-external-link-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

html.light-mode .kol-external-link-modal-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

html.light-mode .kol-external-link-modal-btn-cancel {
    background-color: #f3f4f6;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

html.light-mode .kol-external-link-modal-btn-cancel:hover {
    background-color: #e5e7eb;
}

html.light-mode .kol-external-link-modal-btn-continue {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #ffffff;
    border: 1px solid #0369a1;
    box-shadow: 0px 4px 8px rgba(6, 182, 212, 0.3);
}

html.light-mode .kol-external-link-modal-btn-continue:hover {
    opacity: 0.9;
}

/* DARK THEME BUTTONS */
html.dark-mode .kol-external-link-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

html.dark-mode .kol-external-link-modal-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

html.dark-mode .kol-external-link-modal-btn-cancel {
    background-color: #3a3a3a;
    color: #e0e0e0;
}

html.dark-mode .kol-external-link-modal-btn-cancel:hover {
    background-color: #4a4a4a;
}

html.dark-mode .kol-external-link-modal-btn-continue {
    background: linear-gradient(135deg, #2d7c2d 0%, #1f5f1f 100%);
    color: #ffffff;
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

html.dark-mode .kol-external-link-modal-btn-continue:hover {
    opacity: 0.9;
}

/* LIGHT THEME EDIT LINK */
html.light-mode .kol-edit-profile-link {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #e5e7eb;
}

html.light-mode .kol-edit-profile-link a {
    display: inline-flex;
    align-items: center;
    color: #0891b2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

html.light-mode .kol-edit-profile-link a:hover {
    color: #0e7490;
}

html.light-mode .kol-edit-profile-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #0891b2;
}

/* DARK THEME EDIT LINK */
html.dark-mode .kol-edit-profile-link {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #2a2a2a;
}

html.dark-mode .kol-edit-profile-link a {
    display: inline-flex;
    align-items: center;
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

html.dark-mode .kol-edit-profile-link a:hover {
    color: #2e7d32;
}

html.dark-mode .kol-edit-profile-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #4CAF50;
}

/* LIGHT THEME MOBILE */
@media screen and (max-width: 768px) {
    html.light-mode .kol-profile-field-row {
        font-size: 14px;
        padding: 6px 0;
    }

    html.light-mode .kol-profile-field-row .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    html.light-mode .kol-field-value {
        margin-left: 24px;
    }
    
    html.light-mode .kol-edit-profile-link a {
        font-size: 13px;
    }
}

/* DARK THEME MOBILE */
@media screen and (max-width: 768px) {
    html.dark-mode .kol-profile-field-row {
        font-size: 14px;
        padding: 6px 0;
    }

    html.dark-mode .kol-profile-field-row .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    html.dark-mode .kol-field-value {
        margin-left: 24px;
    }
    
    html.dark-mode .kol-edit-profile-link a {
        font-size: 13px;
    }
}
/* END KOL BP Profile Fields Widget */