/* Allgemeines Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f9;
    color: #333;
	font-size: 18px;
    -webkit-text-size-adjust: 100%; /* Verhindert iOS-Schriftgrößenanpassung */
}

h1, h2, h3 {
    margin: 0.5em 0;
    color: #0B303B;
}

a {
    text-decoration: none;
    color: #ED4267;
    font-weight: bold;
}

ul {
    list-style: none;
    padding: 0;
}

button {
    cursor: pointer;
    background-color: #0B303B;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ED4267;
}

/* Header mit Titel und Hinzufügen-Button */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Tabelle */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.ranking-table th,
.ranking-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.ranking-table th {
    background-color: #f4f4f9;
    font-weight: bold;
    color: #0B303B;
}

/* Ganze Zeile klickbar */
.ranking-table tr {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ranking-table tr:hover {
    background-color: #f9f9f9;
}

/* Add-Button rechtsbündig */
.add-button {
    background-color: #0B303B;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.add-button:hover {
    background-color: #ED4267;
}

/* Details Container */
.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
}

/* Bewertungslisten */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

ul li:last-child {
    border-bottom: none;
}

/* Formular */
form {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

form .form-group {
    margin-bottom: 15px;
}

form label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #0B303B;
    display: block;
}

form input, form select, form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

form input[type="file"] {
    padding: 5px;
}

form button {
    background-color: #ED4267;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0B303B;
}

* Bewertungen als Kreise */
.ratings {
    list-style: none;
    padding: 0;
}

.ratings li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.ratings li strong {
    width: 120px;
    color: #0B303B;
}

/* Kreise */
.circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 2px solid #ccc;
    border-radius: 50%;
}

.circle.filled {
    background-color: #ED4267;
    border-color: #ED4267;
}

/* Bild */
img {
    border-radius: 15px;
    margin-top: 15px;
    width: 100%;
}

/* Buttons */
.buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    background-color: #0B303B;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #ED4267;
}

/* Mobilfreundlich */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .ratings li {
        font-size: 1rem;
    }

    .circle {
        width: 18px;
        height: 18px;
    }

    .button {
        font-size: 1rem;
        padding: 10px;
    }
}


/* Allgemeiner Container */
.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
}

/* Titel */
h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: #ED4267;
}

/* Absätze */
p {
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Hervorhebung der Gesamtpunktzahl */
.highlight {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
}

/* Bewertungen als Kreise */
.ratings {
    list-style: none;
    padding: 0;
}

.ratings li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.ratings li strong {
    width: 120px;
    color: #0B303B;
}

/* Kreise */
.circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 2px solid #ccc;
    border-radius: 50%; /* Perfekt rund */
}

.circle.filled {
    background-color: #ED4267;
    border-color: #ED4267;
}

/* Bild */
img {
    border-radius: 15px;
    margin-top: 15px;
    width: 100%;
}

/* Buttons */
.buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    background-color: #0B303B;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #ED4267;
}

/* Mobilfreundlich */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .ratings li {
        font-size: 1rem;
    }

    .circle {
        width: 18px;
        height: 18px;
    }

    .button {
        font-size: 1rem;
        padding: 10px;
    }
}



/* Allgemeiner Container */
.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Formularfelder */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"], input[type="number"], input[type="checkbox"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Buttons */
.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
}

.button {
    text-decoration: none;
    font-size: 16px;
    color: white;
    background-color: #0B303B;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    border: none;
}

.button:hover {
    background-color: #ED4267;
}

.save-button {
    background-color: #4CAF50;
}

.save-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #f44336;
}

.delete-button:hover {
    background-color: #d32f2f;
}

.cancel-button {
    background-color: #555;
}

.cancel-button:hover {
    background-color: #444;
}


/* Seite: Erfolgreich hinzugefügt */
.success-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #4caf50;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.success-page .emoji {
    font-size: 100px;
    margin-bottom: 20px;
}

.success-page h1 {
    font-size: 2.5em;
    margin: 0 0 20px;
}

.success-page p {
    font-size: 1.2em;
    margin: 0 0 40px;
}

.success-page .button {
    background-color: white;
    color: #4caf50;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.success-page .button:hover {
    background-color: #45a049;
    color: white;
}
