* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #c8102e;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    color: #c8102e;
    margin: 20px 0 15px 0;
}

.button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 15px 0;
    font-size: 16px;
    background: #c8102e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}

.button:hover {
    background: #a00d25;
}

button {
    padding: 12px 20px;
    margin: 10px 5px 10px 0;
    font-size: 14px;
    background: #c8102e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #a00d25;
}

button.secondary {
    background: #666;
}

button.secondary:hover {
    background: #444;
}

form {
    margin: 20px 0;
}

label {
    display: block;
    margin: 15px 0 5px 0;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

input[type="number"] {
    width: 80px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #c8102e;
}

select {
    cursor: pointer;
}

#message {
    padding: 12px;
    margin: 15px 0;
    border-radius: 5px;
    background: #ffebee;
    color: #c62828;
    display: none;
}

#message:not(:empty) {
    display: block;
}

a {
    color: #c8102e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.status {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    background: #e3f2fd;
    color: #1976d2;
    text-align: center;
    font-weight: 600;
}

.match-info {
    padding: 20px;
    margin: 20px 0;
    background: #f9f9f9;
    border-left: 4px solid #c8102e;
    border-radius: 4px;
}

.match-info p {
    margin: 8px 0;
}

#loginSection, #signupSection {
    margin-top: 20px;
}