body {
    background: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}
.catalog {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding-top: 64px;
}
.btn-control{
    width: fit-content;
}
#shareBtn {
    transition: background-color 0.3s ease, color 0.3s ease;
}
input#feed_url {
    border: unset;
    box-shadow: var(--bs-box-shadow-sm) !important;
}
#shareBlock{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.card img {
    height: 180px;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}
.card-title{
    font-size: 14px;
    min-height: 60px;
}
input:focus, input:active {
    outline: unset !important;
    box-shadow: unset !important;
}
.text-muted{
    margin: 0;
}
.btn-custom{
    border-radius: 30px;
    background: #000;
    border: unset;
    padding: 10px 0;
    margin-top: 20px;
    width: 60% !important;
    color: #fff;
}
.btn-custom:hover{
    background: #3b3b3b;
}
.btn-custom:active, .btn-custom:focus{
    background-color: #3b3b3b !important;
    color: white !important;
    border: none;
}
select.form-select.form-select-sm.mb-2 {
    border-radius: 30px;
    border: 1px solid #c9c9c9;
    margin-top: 10px;
}
p.card-text {
    font-size: 22px;
}
.shadow-sm{
    border: unset;
}
.fa-copy{
    font-size: 10px;
    top: -3px;
    position: relative;
}
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.table {
    margin-bottom: 0;
}
.table td {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table td:hover {
    white-space: normal;
    word-break: break-word;
}
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.card-header {
    background-color: #f8f9fa;
}
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.text-success {
    color: #198754 !important;
}
.text-danger {
    color: #dc3545 !important;
}
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.accordion-body {
    background-color: #fff;
}
#comparisonResults {
    margin-top: 1rem;
}
.table-responsive {
    border-radius: 0.25rem;
    overflow: hidden;
}
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.url-input-group {
    position: relative;
}
.url-input-group .btn-outline-danger {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.url-input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}
.form-label {
    font-weight: 500;
    color: #495057;
}
#urlList1, #urlList2 {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}
#urlList1::-webkit-scrollbar, #urlList2::-webkit-scrollbar {
    width: 6px;
}
#urlList1::-webkit-scrollbar-track, #urlList2::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
#urlList1::-webkit-scrollbar-thumb, #urlList2::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
#urlList1::-webkit-scrollbar-thumb:hover, #urlList2::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.progress-container {
    background: #f8f9fa;
    border-radius: 0.25rem;
    padding: 1rem;
}
.progress-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: white;
}
.progress-item {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.progress-item:last-child {
    border-bottom: none;
}
.progress-item .url {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.progress-item .status {
    font-weight: bold;
}
.progress-item.success .status {
    color: #198754;
}
.progress-item.error .status {
    color: #dc3545;
}
.progress-item .error-message {
    color: #dc3545;
    font-size: 0.875rem;
}
.stats {
    display: flex;
    gap: 1rem;
}
.stats-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.stats-item .label {
    color: #6c757d;
}
.stats-item .value {
    font-weight: bold;
}
.stats-item .value.success {
    color: #198754;
}
.stats-item .value.error {
    color: #dc3545;
}
.progress-list::-webkit-scrollbar {
    width: 8px;
}
.progress-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.progress-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.progress-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
#bulkUrls1, #bulkUrls2 {
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
}
#bulkUrls1:focus, #bulkUrls2:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}