.block{
    border:1px solid rgba(255,255,255,0.05);
    border-radius:10px;
}

.block h3{
    margin-bottom:20px;
    color:#ffffff;
    font-size:30px;
}

.block h4{
    color:#4fc3f7;
    margin-bottom:15px;
}

.repartition-form {
    width: 100%;
}

.repartition-form h4 {
    margin: 20px 0 10px 0;
    color: #4fc3f7;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ddd;
}

.form-group input {
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #222;
    color: #fff;
    box-sizing: border-box;
}

.form-group input:focus{
    border-color:#4fc3f7;
    box-shadow:0 0 10px rgba(79,195,247,0.3);
}

.repartition-form hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #444;
}

.repartition-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.btn-calcul {
    margin-top: 20px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background: #4fc3f7;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.btn-calcul:hover {
    opacity: 0.85;
}

.resultat-repartition {
    margin-top: 25px;
}

.resultat-repartition table {
    width: 100%;
    border-collapse: collapse;
}

.resultat-repartition th {
    background: #333;
    padding: 10px;
    text-align: left;
}

.resultat-repartition td {
    padding: 10px;
    border-top: 1px solid #444;
}

.resultat-repartition .total {
    font-weight: bold;
    color: #4fc3f7;
}

.combat-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.combat-card{
    background:#263340;
    border-radius:8px;
    padding:15px;
    text-align:center;
}

.combat-card span{
    display:block;
    color:#b8c2cc;
    font-size:14px;
}

.combat-card strong{
    display:block;
    margin-top:8px;
    font-size:28px;
    color:white;
}

.combat-card small{
    display:block;
    margin-top:5px;
    color:#4fc3f7;
    font-size:14px;
}

.total-combat{
    border:1px solid #4fc3f7;
}

.total-combat strong{
    color:#4fc3f7;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn-calcul {
        width: 100%;
    }
}