/* ----------------------------------------------------- */
/* ALGEMENE RESET EN TYPOGRAFIE */
/* ----------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #f5f5f5;
    color: #333;
}

/* ----------------------------------------------------- */
/* LINKS, BUTTONS EN HOVER EFFECTS */
/* ----------------------------------------------------- */
a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
}

.login-btn {
    background-color: #28a745;
    color: #fff;
}

.register-btn {
    background-color: #dc3545;
    color: #fff;
}

.home-btn {
    background-color: #5bc0de;
    color: #fff;
}

/* ----------------------------------------------------- */
/* CONTAINERS & LAYOUT */
/* ----------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media(max-width:900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------- */
/* FORMULIEREN */
/* ----------------------------------------------------- */
form {
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.labelcol {
    flex: 0 0 180px;
    text-align: right;
    font-size: 13px;
    color: #333;
    padding-right: 8px;
}

.col {
    flex: 1;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

/* ----------------------------------------------------- */
/* PROFIELFOTO & EXTRA FOTO'S */
/* ----------------------------------------------------- */
.profile-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: block;
    margin-bottom: 10px;
}

.photo-placeholder {
    width: 200px;
    height: 200px;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 6px;
    margin-bottom: 10px;
}

.extra-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.extra-photos .tile {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.extra-photos .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.extra-photos .tile .remove {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #c33;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #a22;
    font-size: 14px;
}

/* ----------------------------------------------------- */
/* INTERESSES CHECKBOX GRID */
/* ----------------------------------------------------- */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.checkbox-grid label {
    font-weight: normal;
    font-size: 13px;
    text-align: left;
}

/* ----------------------------------------------------- */
/* EVENTS LIJSTEN */
/* ----------------------------------------------------- */
.events {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.events h3 {
    margin-bottom: 8px;
}

.events ul {
    list-style: none;
    padding-left: 0;
}

.events li {
    margin-bottom: 6px;
}

.events .meta {
    font-size: 12px;
    color: #555;
}

/* ----------------------------------------------------- */
/* Taal/vlag selector */
/* ----------------------------------------------------- */
.lang-selector {
    position: absolute;
    top: 10px;
    right: 10px;
}

.lang-selector img {
    width: 30px;
    margin-left: 6px;
    cursor: pointer;
}

/* ----------------------------------------------------- */
/* AGE DISPLAY */
/* ----------------------------------------------------- */
.age-span {
    margin-left: 6px;
    font-size: 13px;
    color: #333;
}

/* ----------------------------------------------------- */
/* KNOPPEN RIJEN */
/* ----------------------------------------------------- */
.btn-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn-row button {
    flex: 1 1 auto;
}

/* ----------------------------------------------------- */
/* SPECIFIEKE STYLING VOOR PROFILE.PHP */
/* ----------------------------------------------------- */
.profile-container-left, .profile-container-right {
    background-color: #fff;
    padding: 18px;
    border-radius: 10px;
}

.profile-container-left {
    display: flex;
    flex-direction: column;
}

.profile-container-right {
    display: flex;
    flex-direction: column;
}

/* Extra responsive fixes */
@media(max-width: 900px) {
    .profile-container-left, .profile-container-right {
        width: 100%;
    }
}
