@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Light.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Roboto-Condensed-Bold.woff2) format('woff2');
}

body {
    color: #f2f2f2;
    font-family: "Roboto Condensed", Arial, sans-serif;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
}

h2 {
    margin: 20px auto;
    font-size: 24px;
    text-align: center;
    flex-shrink: 0;
}

.server-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.server {
    background-color: rgba(32, 36, 32, 0.95) !important;
    color: #fff; 
    border: 1px solid rgb(61, 75, 39);
    border-radius: 2px;
    width: 250px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.server h2 {
    margin: 0;
    font-size: 16px;
    text-align: center;
    flex-shrink: 0;
}

.server form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.server input[type="text"] {
    width: 90%;
    padding: 8px;
    border: 1px solid #666;
    border-radius: 5px;
    background: #444;
    color: #fff;
    text-align: center;
}

.server button {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server button:not(.remove) {
    background-color: rgb(29, 66, 95);
    color: #fff;
}

.server button:not(.remove):hover {
    background-color: rgb(39, 85, 121);
}

.server button.remove {
    background-color: rgb(150, 47, 32);
    color: #fff;
}

.server button.remove:hover {
    background-color: rgb(172, 56, 39);
}

.btn {
    transition: background 0.2s ease;
    border-radius: 0;
    border: 0;
    padding: 8px 14px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    cursor: pointer;
    margin-top: 5px;
}

.btn.btn-primary {
    background: rgb(61, 75, 39);
    color: rgb(166, 205, 99);
}

.btn.btn-primary:hover {
    background: rgb(88, 108, 57);
}

.btn.btn-secondary {
    background: rgb(29, 66, 95);
    color: rgb(72, 154, 212);
}

.btn.btn-secondary:hover {
    background: rgb(39, 85, 121);
}

.btn.btn-disabled {
    background: rgb(89, 85, 82);
    color: rgb(204, 195, 190);
}

.btn.btn-disabled:hover {
    background: rgb(111, 107, 103);
}

.btn.btn-danger {
    background: rgb(150, 47, 32);
    color: rgb(199, 152, 151);
}

.btn.btn-danger:hover {
    background: rgb(172, 56, 39);
}

.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.alert-success {
    background-color: rgb(61, 75, 39);
    color:#fff;
}

.alert-danger {
    background-color: rgb(172, 56, 39);
    color:#fff;
}

.fade-out {
    opacity: 0;
}