/* Servers Page Specific Technical Styles */

.servers-grid-full, .server-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.server-card-detailed {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: none;
}

.server-card-detailed:hover {
    border-color: var(--border, #30363d) !important;
    transform: none !important;
    box-shadow: none !important;
    background: #161b22 !important;
}

.server-card-detailed[data-shared="true"],
.server-card-shared {
    border-color: rgba(168, 85, 247, 0.4) !important;
}

.server-card-detailed[data-shared="true"]:hover,
.server-card-shared:hover {
    border-color: rgba(168, 85, 247, 0.4) !important;
    background: #161b22 !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.server-name-big {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.server-id {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-online {
    background: #064e3b;
    color: #6ee7b7;
    border: 1px solid #047857;
}

.status-offline {
    background: #450a0a;
    color: #fca5a5;
    border: 1px solid #991b1b;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #0d1117;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.spec-value {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn-manage-full {
    background: #0284c7;
    color: #ffffff;
    border: 1px solid #0284c7;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-manage-full:hover {
    background: #0369a1;
    border-color: #0369a1;
}

.toast-container,
#toast-container,
#flux-toast-container,
#_toast_c {
    position: fixed !important;
    bottom: 24px !important;
    top: auto !important;
    right: 24px !important;
    left: auto !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
    pointer-events: none !important;
}

.toast {
    background: #161b22;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 500;
    min-width: 260px;
    max-width: 380px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success { border-left: 3px solid #10b981; }
.toast.error { border-left: 3px solid #ef4444; }
.toast.warning { border-left: 3px solid #f59e0b; }