body {
    font-family: Arial, sans-serif;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f5f5f5;
}

h1 {
    color: #333;
    text-align: center;
}

h2 {
    color: #444;
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 5px;
}

h3 {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Language switcher */
.language-switcher {
    text-align: right;
    margin-bottom: 15px;
    font-size: 14px;
}

.language-switcher span {
    color: #666;
    margin-right: 5px;
}

.language-switcher a {
    color: #4CAF50;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 5px;
}

.language-switcher a:hover {
    background-color: #e8f5e9;
}

.language-switcher a.active {
    background-color: #4CAF50;
    color: white;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #4CAF50;
}

button {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Success page styles */
.connection-options {
    margin-top: 20px;
}

.option-group {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.option-group p {
    margin: 0 0 10px 0;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background-color: #1976D2;
}

.server-info {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.server-info p {
    margin: 5px 0;
}

.back-link {
    margin-top: 25px;
    text-align: center;
}

.back-link a {
    color: #4CAF50;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}
