/* styles.css - Moderne, minimalistische stijl geïnspireerd door Material Design */
:root {
    --primary-color: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    --accent-color: #FF4081;
    --text-primary: #212121;
    --text-secondary: #757575;
    --divider-color: #BDBDBD;
    --background: #f5f5f5;
    --card-background: #ffffff;
    --error-color: #F44336;
    --success-color: #4CAF50;
    --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
    --transition-standard: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    padding: 32px 0;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--divider-color);
}
    color: var(--primary-color);
    font-size: 20px;
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.form-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-field-count {
    display: flex;
    align-items: center;
}

.form-field-count .material-icons {
    font-size: 16px;
    margin-right: 5px;
}

.form-card-actions {
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #eeeeee;
}

.form-link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s;
}

.form-link-btn:hover {
    background-color: var(--primary-dark);
}

.form-link-btn .material-icons {
    font-size: 18px;
}

.forms-list {
    margin-top: 30px;
    padding: 0 20px 20px 20px;
}

.no-forms-message {
    text-align: center;
    padding: 30px 0;
    color: var(--text-secondary);
}

.intro-section {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--divider-color);
    color: var(--text-secondary);
}

.footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--divider-color);
    margin-top: 20px;
}

.admin-link a {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.admin-link a:hover {
    color: var(--primary-color);
}

.admin-link .material-icons {
    font-size: 16px;
    margin-right: 5px;
}
    margin: 0;
}

h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 20px;
}

.form-selector {
    display: flex;
    justify-content: center;
    background-color: var(--primary-color);
    padding: 0;
}

.form-btn {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-standard);
    position: relative;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.form-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-btn.active {
    color: white;
}

.form-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
}

.form-container {
    position: relative;
    padding: 32px;
}

.task-form {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.task-form.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--divider-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition-standard);
    background-color: transparent;
    color: var(--text-primary);
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-standard);
    display: block;
    width: 100%;
    margin-top: 32px;
    box-shadow: var(--shadow-light);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-medium);
}

.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background-color: var(--success-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: var(--shadow-medium);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-standard);
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.error {
    background-color: var(--error-color);
}

/* Form validation styles */
.field-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    padding-left: 5px;
    font-weight: 500;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: var(--error-color) !important;
    background-color: rgba(244, 67, 54, 0.05);
}

input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
    box-shadow: 0 0 0 1px var(--error-color);
}

/* Material Design Ripple Effect */
.form-btn, .submit-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Verbeteringen voor Material Design look */
select {
    appearance: none;
    background-image: url("../img/select-arrow.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* Responsive design */
@media (max-width: 600px) {
    .form-selector {
        flex-direction: column;
    }
    
    .form-btn {
        padding: 12px;
    }
    
    .form-container {
        padding: 20px 16px;
    }
    
    h1 {
        padding: 24px 0;
        font-size: 24px;
    }
}

.form-card {
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: var(--shadow-light);
    background-color: white;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.form-card:hover {
    box-shadow: var(--shadow-medium);
}

.form-card-content {
    padding: 20px;
}

.form-card-content h2 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color);
}

.form-card-content .form-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}
