/* Algemene stijl voor de body */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Pagina container */
.page-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    padding-left: 180px; /* Padding aan de zijkanten toegevoegd */
    padding-right: 180px; /* Padding aan de zijkanten toegevoegd */
}

/* Back button */
.back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: #f8910b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.back-button i {
    margin-right: 5px;
}

/* Header stijl */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    color: #0a0a0a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    width: 100px;
    height: auto;
    margin-right: 20px;
    border-radius: 8px;
}

.company-details {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 28px;
    margin: 0;
    color: #10adf1;
}

.average-rating {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.average-rating .stars-outer {
    margin-right: 10px;
}

#gemiddelde-cijfer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #10adf1;
}

.button {
    background-color: #f8910b;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Hoofdcontainer voor de inhoud */
.main-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Linker kolom */
.left-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Rechter kolom */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Algemene stijl voor containers */
.container {
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 100%;
}

/* Stijl voor de claim button container */
.claim-business-container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.claim-button {
    background-color: #f8910b;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 1rem;
}

.claim-button:hover {
    background-color: #e06500;
}

/* Stijl voor beoordelingen */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-header h2 {
    margin: 0;
    font-size: 24px;
}

.review-header p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.review {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review p {
    margin: 10px 0;
}

.review h3 {
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.rating-display {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-display .stars-outer {
    margin-right: 10px;
    font-size: 1.2rem;
}

.rating-score {
    font-size: 1.4rem;
    font-weight: bold;
    color: #10adf1;
}

.review-points {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pluspunten, .minpunten {
    width: 48%;
}

.pluspunten h4, .minpunten h4 {
    margin-bottom: 5px;
}

.pluspunten ul, .minpunten ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pluspunten li, .minpunten li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.pluspunten li i, .minpunten li i {
    margin-right: 5px;
}

.green-icon {
    color: green;
}

.red-icon {
    color: red;
}

.pluspunt-container, .minpunt-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between; /* Zorgt ervoor dat de knoppen rechts komen te staan */
}

.pluspunt-container input, .minpunt-container input {
    flex-grow: 1;
    margin-right: 10px;
}

.pluspunt-container button, .minpunt-container button {
    background-color: #e0e0e0;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.2rem;
}

.pluspunt-container button:hover, .minpunt-container button:hover {
    background-color: #ccc;
}

/* Formulier stijl */
form {
    margin-top: 20px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
    position: relative;
    z-index: 1001;
}

#klantnaam{
    border: rgba(255, 255, 255, 0);
    font-size: 1.2rem;
    font-weight: bold;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.popup-content button[type="submit"] {
    background-color:#f8910b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-content button[type="submit"]:hover {
    background-color: #f8910b;
}

.rating input[type="range"] {
    margin: 10px 0;
    -webkit-appearance: none;
    background: #f8910b;
    height: 8px;
    width: 130px;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.stars-outer {
    display: inline-block;
    position: relative;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: #ccc;
}

.stars-outer::before {
    content: "\f005 \f005 \f005 \f005 \f005";
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    color: #f8ce0b;
}

.stars-inner::before {
    content: "\f005 \f005 \f005 \f005 \f005";
}

#current-rating {
    font-size: 3rem;
    font-weight: bold;
    color: #10adf1;
    margin-right: 250px; /* Voeg een kleine marge toe om wat ruimte te geven */

}

.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-elements {
    display: flex;
    flex-direction: column; /* Zet de input en sterren onder elkaar */
}

.stars-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Zorg ervoor dat de current-rating naar rechts gaat */
    width: 100%; /* Neem de volledige breedte in */
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100px; /* Stel de breedte in voor consistentie */
    margin: 0; /* Verwijder marge om de layout te verbeteren */
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #f8910b;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #10adf1;
    cursor: pointer;
    border-radius: 50%;
}

/* Paginering stijl */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination .button {
    margin: 0 5px;
}

.page-numbers {
    display: flex;
}

.page-number {
    margin: 0 5px;
    cursor: pointer;
    background-color: rgba(221, 221, 221, 0.3);
    color: #10adf1;
}

.page-number.active {
    background-color: rgba(117, 116, 116, 0.3);
    color: #10adf1;
}
.page-numbers span {
    margin: 0 5px;
    color: #10adf1;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .page-container {
        padding-left: 120px; /* Verminderen van padding voor schermen met max breedte van 1200px */
        padding-right: 120px;
    }
}

@media (max-width: 992px) {
    .page-container {
        padding-left: 60px; /* Verminderen van padding voor schermen met max breedte van 992px */
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding-left: 20px; /* Verminderen van padding voor schermen met max breedte van 768px */
        padding-right: 20px;
    }

    .main-container {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left {
        margin-bottom: 20px;
    }
}

/* Mobile specific styling */
@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    .logo {
        width: 80px;
        margin-right: 10px;
    }

    .company-name {
        font-size: 20px;
    }

    .company-details {
        margin-top: 10px;
    }

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

    .container {
        padding: 10px;
    }

    .review-header h2 {
        font-size: 18px;
    }

    .review-header p {
        font-size: 14px;
    }

    .review h3 {
        font-size: 18px;
    }

    .rating-display .stars-outer {
        font-size: 1rem;
    }

    .rating-score {
        font-size: 1.2rem;
    }

    .left-column,
    .right-column {
        flex: 1;
        padding: 10px 0;
    }

    .claim-button,
    .back-button {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    input[type="text"],
    textarea {
        padding: 5px;
    }

    .popup-content {
        padding: 10px;
        width: 90%;
    }

    .popup-content button[type="submit"] {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}
