* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    background: white;
    padding: 30px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    color: #667eea;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header .subtitle {
    color: #666;
    font-size: 1.1em;
}

nav {
    background: #f8f9fa;
    padding: 0;
    display: flex;
    border-bottom: 3px solid #667eea;
}

nav a {
    flex: 1;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s;
    border-right: 1px solid #ddd;
}

nav a:last-child {
    border-right: none;
}

nav a:hover {
    background: #e9ecef;
}

nav a.active {
    background: #667eea;
    color: white;
    font-weight: bold;
}

main {
    background: white;
    padding: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.welcome-box, .form-box {
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8em;
}

h3 {
    color: #764ba2;
    margin: 20px 0 10px 0;
    font-size: 1.3em;
}

.server-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.server-info ul {
    list-style: none;
    padding: 0;
}

.server-info li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.server-info li:last-child {
    border-bottom: none;
}

.actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #764ba2;
    color: white;
}

.btn-secondary:hover {
    background: #63408a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(118, 75, 162, 0.3);
}

.stats {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.stats h3 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85em;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    border-left: 4px solid #f44;
    color: #c33;
}

.alert-success {
    background: #efe;
    border-left: 4px solid #4c4;
    color: #363;
}

footer {
    text-align: center;
    padding: 20px;
    color: white;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions {
        flex-direction: column;
    }
    
    nav {
        flex-direction: column;
    }
    
    nav a {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}
