/* =========================
   LOGIN
========================= */

.bodyLogin {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #000000;
}

.bodyLogin form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bodyLogin input {
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid black;
}

.bodyLogin button {
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    background-color: rgb(0, 26, 255);
    color: white;
    border: none;
}

.red {
    color: red;
}


/* =========================
   TIPPSPIEL
========================= */

.bodytip {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(220, 220, 220);
    margin: 0;
    padding: 20px;
}

/* Button (Tipp absenden) */
button {
    width: 100%;
    height: 70px;
    border-radius: 15px;
    background-color: orange;
    border: 1px solid black;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    filter: brightness(0.95);
}


/* =========================
   MATCH LAYOUT
========================= */

.match-row {
    display: grid;
    grid-template-columns: 1fr 40px 80px 80px 40px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 0;
    border-radius: 8px;
}

.match-row:hover {
    background: rgba(0,0,0,0.05);
}


/* TEAM NAME */
.team-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.team-name.left {
    text-align: right;
    opacity: 0.8;
}

.team-name.right {
    text-align: left;
    opacity: 0.8;
}


/* FLAGGEN */
.flag {
    width: 26px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* INPUT FELDER (DAZN STYLE) */
.dazn-input {
    width: 70px;
    height: 60px;

    background: #111;
    color: #fff;

    font-size: 28px;
    font-weight: 700;
    text-align: center;

    border: 1px solid #2a2a2a;
    border-radius: 10px;

    outline: none;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);

    transition: all 0.2s ease;
}

/* Focus Effekt */
.dazn-input:focus {
    border-color: #ff004c;
    box-shadow:
        0 0 0 2px rgba(255, 0, 76, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Spinner entfernen */
.dazn-input::-webkit-outer-spin-button,
.dazn-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dazn-input {
    appearance: textfield;
    -moz-appearance: textfield;
}

.ranking {
    max-width: 700px;
    margin: 30px auto;
}

.ranking h2 {
    text-align: center;
    margin-bottom: 20px;
}

.ranking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #111;
    color: white;

    padding: 15px 20px;
    margin-bottom: 10px;

    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0,0,0,0.25);

    transition: 0.2s;
}

.ranking-row:hover {
    transform: translateY(-2px);
}

.ranking-place {
    width: 60px;
    font-size: 22px;
    font-weight: bold;
}

.ranking-name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.ranking-points {
    font-size: 18px;
    font-weight: bold;
}

/* Top 3 */

.gold {
    background: linear-gradient(90deg, #ffd700, #ffb700);
    color: black;
}

.silver {
    background: linear-gradient(90deg, #d9d9d9, #bfbfbf);
    color: black;
}

.bronze {
    background: linear-gradient(90deg, #cd7f32, #b86a20);
    color: white;
}