/* Algemene stijlen */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

header img {
    max-width: 200px;
    height: auto;
}

h1 {
    color: #2c3e50;
    margin: 10px 0 0;
    font-size: 24px;
}

/* Introductie tekst */
.intro-text {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin: 0 auto 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    border-left: 5px solid #3498db;
}

.intro-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* Container voor hoofdinhoud */
.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto 30px;
    max-width: 800px;
    width: 95%;
}

/* Formulier elementen */
textarea, input[type="text"], input[type="password"], input[type="number"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

textarea:focus, input:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    margin: 15px 0;
    transition: background-color 0.3s;
}

button:hover {
    background: #2980b9;
}

/* Succesmelding */
.success-message {
    background-color: #e8f8f5;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #2ecc71;
}

/* Link container */
.link-container {
    display: flex;
    margin: 20px 0;
    align-items: center;
    gap: 10px;
}

.link-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.link-container button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-buttons a {
    text-decoration: none;
    flex: 1;
    min-width: 150px;
}

.share-buttons button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
}

/* Groene knop voor nieuw geheim */
button[style*="background: #2ecc71"] {
    background: #2ecc71;
}

button[style*="background: #2ecc71"]:hover {
    background: #27ae60;
}

/* WhatsApp button */
button[style*="background: #25d366"] {
    background: #25d366;
}

button[style*="background: #25d366"]:hover {
    background: #1da851;
}

/* Wachtwoordveld met oogje */
.password-input-group {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.password-input-group input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 20px;
}

/* Foutmeldingen */
.warning {
    color: #e74c3c;
    font-weight: bold;
    background-color: #fdecea;
    padding: 12px;
    border-radius: 4px;
    margin: 15px 0;
}

/* Geheim inhoud */
.secret-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 20px 0;
    white-space: pre-wrap;
}

/* Countdown stijl */
#countdown {
    font-weight: bold;
    color: #e74c3c;
    font-size: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 14px;
    margin-top: auto;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Taalselector */
.language-selector {
    text-align: center;
    margin: 10px 0 20px;
}

.language-selector a {
    color: #3498db;
    text-decoration: none;
    padding: 0 10px;
    font-weight: 500;
}

.language-selector a.active {
    text-decoration: underline;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 992px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    .intro-text {
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    header img {
        max-width: 150px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .expires-input-group {
        flex-direction: column;
    }

    .expires-input-group input,
    .expires-input-group select {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .intro-text {
        padding: 15px;
        font-size: 14px;
    }

    .container {
        padding: 15px;
    }
}