* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.card h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid white;
    width: auto;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main.container {
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    align-items: flex-start;
    padding-top: 40px;
}

.dashboard-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
}

#vpn-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

#vpn-list li {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

#vpn-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    background-color: #ffffff;
    border-color: #ced4da;
}

.server-info {
    display: flex;
    flex-direction: column;
}

.server-status-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.server-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 4px;
}

.server-details {
    font-size: 14px;
    color: #7f8c8d;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-online {
    background-color: #e8f8f5;
    color: #27ae60;
}

.status-offline {
    background-color: #fdedec;
    color: #e74c3c;
}

.btn-connect {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-connect:hover {
    background-color: #2980b9;
}