
body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
h1 {
    color: #333;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}
h2 {
    color: #009688;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}
h3 {
    color: #333;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}
p, ul, ol {
    margin-bottom: 15px;
}
ul, ol {
    padding-left: 25px;
}
a {
    color: #009688;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Stili per la pagina di iscrizione */
.header-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.header-container {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background-color: white;
}

.header-info {
    padding: 20px;
}

.torneo-title {
    margin-top: 0;
    color: #009688;
}

.torneo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .torneo-details {
        grid-template-columns: 1fr;
    }
}

.detail-item {
    margin-bottom: 8px;
}

.detail-label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 3px;
}

.detail-value {
    color: #333;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="radio"] {
    margin-right: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.btn {
    background-color: #009688;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #00796b;
    text-decoration: none;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
}

.step-indicator.active {
    background-color: #009688;
}

.fonte-altro {
    display: none;
    margin-top: 10px;
}

.center-text {
    text-align: center;
}

.required:after {
    content: " *";
    color: red;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
}
