/* Basis */
:root {
    --bg-body: #050814;
    --bg-card: #07101F;
    --accent-cyan: #20D6D3;
    --accent-cyan-soft: #18A9B0;
    --text-main: #FFFFFF;
    --text-sub: #C6D3E5;
    --overlay-bg: rgba(5, 8, 20, 0.92);
    --border-radius-badge: 18px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #071225 0, #050814 55%, #02040A 100%);
    color: var(--text-main);
}

/* Layout wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 32px 16px 24px;
}

/* Header */
.inep-header {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.inep-domain-label {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-cyan-soft);
    opacity: 0.9;
}

/* Main */
.inep-main {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Badge */
.inep-badge {
    width: 100%;
    max-width: 760px;
}

.inep-badge-inner {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-badge);
    border: 4px solid var(--accent-cyan);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: stretch;
    padding: 14px 18px;
    gap: 16px;
}

/* Linkerzijde – schild / hacker man */
.inep-badge-icon {
    flex: 0 0 120px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Plaats hier jouw image */
    background-image: url("../images/internep-shield.png"); /* pas pad/naam aan */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Zoekformulier */
.inep-search-form {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.inep-input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 999px;
    border: 3px solid var(--accent-cyan);
    background-color: rgba(5, 12, 26, 0.85);
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.inep-input::placeholder {
    color: var(--text-sub);
    opacity: 0.8;
}

.inep-input:focus {
    border-color: #3bf0ec;
    box-shadow: 0 0 0 1px rgba(59, 240, 236, 0.4);
    background-color: rgba(5, 12, 26, 0.95);
}

.inep-button {
    padding: 11px 24px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--accent-cyan), #3BF0EC);
    color: #021016;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(12, 230, 218, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.inep-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 36px rgba(12, 230, 218, 0.45);
}

.inep-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(12, 230, 218, 0.35);
}

/* Overlay/paneel onder badge */
.inep-overlay {
    width: 100%;
    max-width: 760px;
    background: rgba(7, 16, 31, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(32, 214, 211, 0.3);
    padding: 20px 22px 22px;
    box-shadow: var(--shadow-soft);
    color: var(--text-sub);
}

.inep-overlay-inner h1 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--text-main);
}

.inep-overlay-inner p {
    margin: 6px 0;
    line-height: 1.55;
}

.inep-thanks {
    margin-top: 10px;
    font-weight: 500;
    color: var(--accent-cyan-soft);
}

/* Footer */
.inep-footer {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-sub);
    padding-top: 8px;
}

.inep-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.inep-footer a:hover {
    text-decoration: underline;
}

.inep-footer-separator {
    opacity: 0.4;
}

/* Helper classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.inept-hidden {
    display: none;
}

/* Internep contact link */
.inep-contact{
  margin-top: 0;
  padding-top: 35px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
}

.inep-contact a,
.inep-contact a:visited{
  color: rgba(12, 230, 218, 0.35);
  text-decoration: none;
  border-bottom: none;
}

.inep-contact a:hover,
.inep-contact a:focus{
  color: rgba(12, 230, 218, 0.6);
  text-decoration: none;
  border-bottom: none;
}


/* Responsive */
@media (max-width: 640px) {
    .page-wrapper {
        padding: 24px 12px 18px;
    }

    .inep-badge-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 14px 16px;
    }

    .inep-badge-icon {
        flex: 0 0 96px;
    }

    .inep-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .inep-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* Error page styling */
.error-body {
    background: #050814;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.error-container {
    background: rgba(7, 16, 31, 0.92);
    border: 1px solid rgba(32, 214, 211, 0.35);
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 420px;
    text-align: center;
    color: #E8EDF2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.error-title {
    font-size: 26px;
    margin-bottom: 14px;
    color: #FFFFFF;
}

.error-text {
    margin-bottom: 24px;
    line-height: 1.6;
}

.error-button {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #20D6D3, #3BF0EC);
    color: #021016;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(12,230,218,0.35);
    transition: 0.15s ease;
}

.error-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(12,230,218,0.45);
}
