/* ========================================
   populieren.com
   Centrale stylesheet
   ======================================== */


/* ========================================
   BASIS
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    font-family: Arial, Helvetica, sans-serif;

    background-color: #f4f4f9;

    color: #333;
}


/* ========================================
   HEADER
   ======================================== */

.site-header {
    width: 100%;
    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            135deg,
            #061f17 0%,
            #0b3d2e 45%,
            #145a42 100%
        );

    border-bottom: 2px solid #1d7655;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.35);
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    min-height: 90px;

    margin: 0 auto;
    padding: 5px 25px;

    display: flex;
    align-items: center;

    gap: 20px;
}


/* ========================================
   LOGO
   ======================================== */

.site-logo {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    text-decoration: none;

    flex-shrink: 0;
}

.site-logo img {
    width: 100px;
    height: 80px;

    display: block;

    object-fit: contain;
}


/* ========================================
   WEBSITE NAAM
   ======================================== */

.site-title {
    color: #dff5e8;

    font-size: 28px;
    font-weight: 600;

    letter-spacing: 0.5px;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.site-title span {
    display: block;
}


/* ========================================
   TWEE KOLOMMEN
   ======================================== */

.site-layout {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    flex: 1;

    display: grid;

    grid-template-columns:
        210px
        minmax(0, 1fr);

    gap: 25px;

    padding: 25px;
}


/* ========================================
   LINKER MENU
   ======================================== */

.site-sidebar {
    width: 100%;
}

.main-menu {
    width: 100%;

    padding: 15px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f8f6 100%
        );

    border: 1px solid #d9e4df;

    border-radius: 12px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}


/* ========================================
   MENU TITEL
   ======================================== */

.menu-title {
    padding: 5px 10px 12px 10px;

    margin-bottom: 8px;

    color: #0b3d2e;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1.5px;

    border-bottom: 1px solid #d9e4df;
}


/* ========================================
   MENU ITEMS
   ======================================== */

.menu-item {
    width: 100%;
    min-height: 48px;

    margin-bottom: 6px;
    padding: 6px 10px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-radius: 8px;

    text-decoration: none;

    color: #29443a;

    background: transparent;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.menu-item:hover {
    background:
        linear-gradient(
            135deg,
            #0b3d2e,
            #145a42
        );

    color: #ffffff;

    transform: translateX(3px);

    text-decoration: none;
}


/* ========================================
   MENU ICON
   ======================================== */

.menu-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 6px;

    background: #e5f2eb;
}

.menu-icon img {
    width: 22px;
    height: 22px;

    display: block;

    object-fit: contain;
}


/* ========================================
   MENU TEKST
   ======================================== */

.menu-text {
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}


/* ========================================
   RECHTER CONTENT
   ======================================== */

.site-content {
    width: 100%;
    min-width: 0;
}


/* ========================================
   CONTENT CARD
   ======================================== */

.content-card {
    width: 100%;

    min-height: 300px;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #e1e6e3;

    border-radius: 12px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}


/* ========================================
   CONTENT TITEL
   ======================================== */

.content-card h1 {
    margin-top: 0;
    margin-bottom: 12px;

    color: #0b3d2e;

    font-size: 30px;
}


/* ========================================
   CONTENT TEKST
   ======================================== */

.content-card p {
    font-size: 16px;

    line-height: 1.7;

    color: #444;
}


/* ========================================
   REGISTRATION AND LOGIN FORMS
   ======================================== */

.registration-form,
.login-form {
    width: 100%;

    max-width: 650px;

    margin-top: 25px;
}


/* ========================================
   LOGIN CARD
   ======================================== */

.login-card {
    width: 100%;
}


/* ========================================
   FORM GROUP
   ======================================== */

.form-group {
    margin-bottom: 18px;
}


/* ========================================
   FORM LABEL
   ======================================== */

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #29443a;

    font-size: 14px;

    font-weight: 600;
}


/* ========================================
   INPUTS
   ======================================== */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;

    height: 44px;

    padding: 10px 13px;

    border: 1px solid #cbd8d2;

    border-radius: 7px;

    background: #ffffff;

    color: #333;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ========================================
   INPUT FOCUS
   ======================================== */

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #145a42;

    box-shadow:
        0 0 0 3px rgba(20, 90, 66, 0.12);
}


/* ========================================
   FORM HELP TEXT
   ======================================== */

.form-group small {
    display: block;

    margin-top: 6px;

    color: #7f8c8d;

    font-size: 12px;
}


/* ========================================
   CHECKBOX
   ======================================== */

.form-checkbox {
    margin-top: 10px;

    margin-bottom: 22px;

    color: #555;

    font-size: 13px;

    line-height: 1.6;
}

.form-checkbox label {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;

    accent-color: #145a42;
}


/* ========================================
   FORM LINKS
   ======================================== */

.form-checkbox a,
.form-footer a {
    color: #145a42;

    font-weight: 600;

    text-decoration: none;
}

.form-checkbox a:hover,
.form-footer a:hover {
    color: #0b3d2e;

    text-decoration: underline;
}


/* ========================================
   SUBMIT BUTTON
   ======================================== */

.form-submit {
    margin-top: 5px;
}

.form-submit button {
    min-width: 170px;

    padding: 12px 25px;

    border: none;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #0b3d2e,
            #145a42
        );

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-submit button:hover {
    background:
        linear-gradient(
            135deg,
            #145a42,
            #1d7655
        );

    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.22);
}

.form-submit button:active {
    transform: translateY(0);
}


/* ========================================
   FORM FOOTER
   ======================================== */

.form-footer {
    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #e5e5e5;

    color: #777;

    font-size: 13px;

    line-height: 1.8;
}

.login-forgot {
    margin-top: 5px;
}


/* ========================================
   DATE / TIME
   ======================================== */

.date {
    margin-top: 25px;

    padding-top: 15px;

    border-top: 1px solid #e5e5e5;

    color: #7f8c8d;

    font-size: 13px;
}


/* ========================================
   GENERAL LINKS
   ======================================== */

a {
    color: #145a42;
}

a:hover {
    color: #0b3d2e;
}


/* ========================================
   SYSTEM MESSAGES
   ======================================== */

.message {
    width: 100%;

    max-width: 650px;

    margin: 20px 0;

    padding: 14px 16px;

    border-radius: 7px;

    font-size: 14px;

    line-height: 1.6;
}


/* ========================================
   ERROR MESSAGE
   ======================================== */

.message-error {
    background: #fff1f1;

    border: 1px solid #e4b8b8;

    color: #8a2d2d;
}

.message-error ul {
    margin-top: 8px;

    margin-bottom: 0;

    padding-left: 20px;
}


/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.message-success {
    background: #edf8f2;

    border: 1px solid #b8d9c6;

    color: #245c3f;
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    width: 100%;

    margin: 0;
    padding: 0;

    background:
        linear-gradient(
            135deg,
            #061f17 0%,
            #0b3d2e 45%,
            #145a42 100%
        );

    border-top: 1px solid #1d7655;

    color: #dff5e8;

    font-size: 13px;

    box-shadow:
        0 -2px 10px rgba(0, 0, 0, 0.20);
}

.footer-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 10px 25px;

    text-align: center;
}

.footer-copy {
    font-size: 13px;

    margin-bottom: 5px;
}

.footer-links {
    font-size: 12px;
}

.footer-links a {
    color: #dff5e8;

    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;

    text-decoration: underline;
}

.footer-links span {
    margin: 0 6px;

    opacity: 0.6;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    .header-inner {
        min-height: 75px;

        padding: 5px 15px;

        gap: 12px;
    }

    .site-logo img {
        width: 80px;
        height: 64px;
    }

    .site-title {
        font-size: 21px;
    }

    .site-layout {
        grid-template-columns: 1fr;

        gap: 15px;

        padding: 15px;
    }

    .main-menu {
        padding: 10px;
    }

    .menu-title {
        display: none;
    }

    .menu-item {
        min-height: 44px;
    }

    .content-card {
        padding: 25px 20px;
    }

    .content-card h1 {
        font-size: 25px;
    }

    .registration-form,
    .login-form {
        max-width: 100%;
    }

    .form-submit button {
        width: 100%;
    }

    .footer-inner {
        padding: 9px 15px;
    }
}