.sites-checkbox-list {
    margin-bottom: 1em;
    background: #f9f9f9;
}

.site-info {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-info:last-child {
    border-bottom: none;
}

.site-info:hover {
    background: blanchedalmond;
}

.site-info input[type="checkbox"] {
    margin-right: 10px;
}

.site-info {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 0.15fr 2fr 0.5fr 0.5fr 2fr 0.5fr;
    grid-template-columns: repeat(1, max-content 65% 35%);
}

.site-name {
    font-weight: bold;
    color: #333;
}

.site-url {
    color: #666;
    font-size: 12px;
}

.update-badges {
    display: flex;
    gap: 5px;
    height: fit-content;
}

.update-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-family: 'JetBrains Mono';
    font-weight: bold;
    cursor: pointer;
    min-width: 20px;
    text-align: center;
}

.update-badge--red {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.update-badge--green {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.update-badge--grey {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.update-badge--error {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.update-badge--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
}

.update-results {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    border-left: 4px solid #ddd;
}

.result-item.success {
    background: #e8f5e8;
    border-left-color: #4caf50;
}

.result-item.error {
    background: #ffebee;
    border-left-color: #f44336;
}

.result-item.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.update-details-item {
    padding: 10px;
    margin: 5px 0;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

.update-details-item h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.update-details-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.update-type-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.update-type-selection label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.update-type-selection input[type="radio"] {
    margin-right: 8px;
}

.site-info.disabled {
    opacity: 0.5;
    background: #f5f5f5;
}

.site-info.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.key-indicator {
    margin-left: 5px;
    font-size: 12px;
}

.update-progress {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.bulk-update-progress {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.bulk-update-progress h3 {
    margin-top: 0;
    color: #333;
}

.site-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25em;
    font-size: 12px;
    color:#444;
}

.ui-badge {
	padding: 1px 6px;
	border-radius: 3px;
    font-weight: 400;
    height: fit-content;

    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
}
.badge-mysql {
	background: #00758f;
	color: #ffffff;
}
.badge-php {
	background: #474a8a;
	color: #ffffff;
}
.badge-lh {
	background: #f39c12;
	color: #ffffff;
}
.badge-wp {
	background: #21759b;
	color: #ffffff;
}
.badge-server {
	background: #abacae;
	color: #000000;
}
.badge-io {
	background: #1abc9c;
	color: #ffffff;
}

.badge-disk {
	background: #34495e;
	color: #ffffff;
}
.badge-db {
	background: #34495e;
	color: #ffffff;
}

.badge-custom span {
    color: white;
}
