@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
    background: #f0f2f5;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 1.5em;
}

/* Dashboard */
.dashboard-card {
    background: white;
    padding: 2em;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.dashboard-actions {
    margin-top: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

/* Buttons */
.button {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}

.button:hover {
    background-color: #0056b3;
}

.button.danger {
    background-color: #dc3545;
	width: 33%;
}

.button.danger:hover {
    background-color: #a71d2a;
}

.button-green {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    cursor: pointer;
}

.button-green:hover {
    background-color: #218838;
    color: white;
    text-decoration: none;
}

/* ========== Formulierstijl algemeen ========== */
form label {
    display: block;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

form input[type="email"],
form input[type="password"],
form input[type="text"] {
    width: 100%;
    padding: 0.6em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    margin-top: 1.5em;
    width: 33%;
    padding: 0.7em;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

.form-actions {
    margin-top: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

/* ========== Meldingen ========== */
.error, .success {
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    line-height: 1.4em;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #f5c6cb;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #c3e6cb;
}

/* ========== Wizard Form Styling ========== */
.wizard-container {
    max-width: 800px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.wizard-title {
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 1.8em;
    color: #333;
}

.wizard-description {
    text-align: center;
    margin-bottom: 1.5em;
    color: #555;
}

.wizard-form fieldset {
    border: 1px solid #ddd;
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: 4px;
}

.wizard-form legend {
    font-weight: bold;
    padding: 0 0.5em;
    color: #007bff;
}

.wizard-question {
    margin-bottom: 1em;
}

.wizard-input,
.wizard-textarea,
.wizard-select {
    width: 100%;
    padding: 0.6em;
    margin-top: 0.3em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.wizard-textarea {
    min-height: 100px;
}

.wizard-multiselect-label {
    display: inline-block;
    margin-right: 1em;
    margin-top: 0.5em;
}

.wizard-help {
    color: #666;
    font-size: 0.9em;
}

.wizard-submit {
    margin-top: 1.5em;
}

/* ========== Algemene kaartstijl (projecten, profielen, etc.) ========== */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 1.5em;
    margin-bottom: 1.5em;
}

.card h2 {
    margin-top: 0;
}

.card-actions {
    margin-top: 1em;
}

.card-actions a {
    margin-right: 1em;
}

/* ========== Toevoegingen voor Customer Profile ========== */
.customer-profile-container {
    max-width: 600px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.customer-profile-title {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.8em;
    color: #333;
}

.customer-profile-form .form-group {
    margin-bottom: 1.5em;
}

.customer-profile-form textarea {
    min-height: 50px; /* Grotere standaardhoogte */
	width: 80%;
    resize: vertical;  /* Gebruiker kan zelf de hoogte aanpassen */
}



/* Minimalistische header stijl */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 2em;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1em;
}

.logo-container img {
    height: 50px; /* hoogte zoals gewenst */
}

.logo-container h1 {
    font-size: 1.6em;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 1.5em;
}

.main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #007bff;
}


.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

.header-actions {
    margin-bottom: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-card {
    background-color: #ffffff;
    padding: 1em 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 1.5em;
}

.project-card h2 {
    margin-top: 0;
    margin-bottom: 0.5em;
    color: #333;
}

.project-actions {
    margin-top: 1em;
    display: flex;
    gap: 0.75em;
    flex-wrap: wrap;
}

.button.small {
    font-size: 0.9em;
    padding: 0.4em 0.8em;
}


/* Plans */

    .plans-container {
        display: flex;
        justify-content: center;
        gap: 1em;
        flex-wrap: wrap;
        margin-bottom: 2em;
    }

    .plan-card {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        padding: 1em;
        text-align: center;
        flex: 1 1 200px;
        position: relative;
    }

    .plan-card input[type="radio"] {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .plan-card h3 {
        margin-top: 0;
        color: #007bff;
    }

    .plan-card .price {
        font-size: 1.2em;
        margin: 0.5em 0;
        font-weight: bold;
    }

    .plan-details {
        list-style: none;
        padding: 0;
        text-align: left;
        font-size: 0.9em;
    }

    .plan-details li {
        margin-bottom: 0.5em;
    }

    .upgrade-form {
        text-align: center;
    }

    .upgrade-form .button {
        margin-top: 1.5em;
    }

/* ========== Taak aanmaken pagina ========== */
.task-create-container {
    max-width: 700px;
    margin: 2em auto;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.task-create-container h2 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.8em;
    color: #333;
}

.task-create-form .form-group {
    margin-bottom: 1.5em;
}

.task-create-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #444;
}

.task-create-form .required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 3px;
}

.task-create-form select,
.task-create-form textarea,
.task-create-form input[type="datetime-local"] {
    width: 100%;
    padding: 0.7em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.task-create-form select:focus,
.task-create-form textarea:focus,
.task-create-form input[type="datetime-local"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    outline: none;
}

.task-create-form textarea {
    min-height: 150px;
    resize: vertical;
}

.task-create-form button {
    display: block;
    width: 180px;
    margin: 2em auto 0;
    padding: 0.8em 1.5em;
    background-color: #007bff;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.task-create-form button:hover {
    background-color: #0056b3;
}

/* Responsive styling voor kleinere schermen */
@media (max-width: 768px) {
    .task-create-container {
        padding: 1.5em;
        margin: 1em;
    }
    
    .task-create-form button {
        width: 100%;
    }
}

/* Task details styling */
.task-detail-section {
    margin-bottom: 2em;
}

.task-detail-section h3 {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 0.5em;
}

.task-content {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1.5em;
    border-left: 3px solid #007bff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    white-space: pre-line;
    overflow-x: auto;
}

.task-create-form .field-help {
    margin-top: 0.3em;
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

/* Efficiëntere takenweergave met grid layout */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.task-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 1.2em;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #007bff;
}

.task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.task-card h3 {
    margin-top: 0;
    margin-bottom: 0.8em;
    font-size: 1.2em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
}

.task-card-info {
    font-size: 0.9em;
    margin-bottom: 0.4em;
}

.task-card-info strong {
    color: #555;
    display: inline-block;
    width: 90px;
}

.task-card-footer {
    margin-top: auto;
    padding-top: 1em;
    text-align: right;
}

.task-card .status-badge {
    display: inline-block;
    padding: 0.3em 0.6em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 0.5em;
    width: auto;
}

.status-badge.pending {
    background-color: #fff4de;
    color: #996500;
    border: 1px solid #ffd591;
}

.status-badge.processing {
    background-color: #e6f7ff;
    color: #0066cc;
    border: 1px solid #91d5ff;
}

.status-badge.completed {
    background-color: #e6fff0;
    color: #00994d;
    border: 1px solid #b7eb8f;
}

.status-badge.failed {
    background-color: #ffebee;
    color: #cc0000;
    border: 1px solid #ffb1b1;
}

@media (max-width: 768px) {
    .tasks-grid {
        grid-template-columns: 1fr;
    }
}

/* Personas Grid en Card Styling */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.persona-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 1.2em;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #6a5acd; /* Mooie paarse kleur voor personas */
    overflow: hidden;
}

.persona-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.persona-card h3 {
    margin-top: 0;
    margin-bottom: 0.8em;
    font-size: 1.2em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
}

.persona-card-info {
    font-size: 0.9em;
    margin-bottom: 0.4em;
}

.persona-card-info strong {
    color: #555;
    display: inline-block;
    width: 90px;
}

.persona-card-footer {
    margin-top: auto;
    padding-top: 1em;
    text-align: right;
}

.persona-card .department-badge {
    display: inline-block;
    padding: 0.3em 0.6em;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 0.5em;
    width: auto;
    background-color: #f0f0ff;
    color: #6a5acd;
    border: 1px solid #d0d0ff;
}

.persona-card-avatar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.persona-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.persona-card-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 1em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .personas-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Galerij Styling */
.team-gallery-section {
    margin-bottom: 3em;
    background-color: #f8f9ff;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.team-gallery-title {
    text-align: center;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 1.5em;
    color: #444;
    position: relative;
}

.team-gallery-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a5acd, #9370db);
    margin: 0.5em auto 0;
    border-radius: 3px;
}

.team-gallery-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(10, 90px);
    gap: 1.5em;
    justify-items: center;
    justify-content: center;
    margin: 0 auto;
}

.team-gallery::after {
    content: '';
    grid-column: 1 / -1;
}

.team-gallery-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.team-gallery-item:hover {
    transform: translateY(-5px);
}

.team-gallery-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5em;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    background-color: #f0f0ff;
}

.team-gallery-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-gallery-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
    text-align: center;
}

@media (max-width: 1200px) {
    .team-gallery {
        grid-template-columns: repeat(8, 90px);
    }
}

@media (max-width: 992px) {
    .team-gallery {
        grid-template-columns: repeat(6, 90px);
    }
}

@media (max-width: 768px) {
    .team-gallery {
        grid-template-columns: repeat(5, 70px);
        gap: 1em;
    }
    
    .team-gallery-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .team-gallery {
        grid-template-columns: repeat(4, 70px);
    }
    
    .team-gallery-avatar {
        width: 60px;
        height: 60px;
    }
}

/* SEO Module Styling */
.seo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

.seo-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    margin-bottom: 2em;
}

.seo-dashboard-card {
    background: white;
    border-radius: 8px;
    padding: 1.5em;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.seo-dashboard-card h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

.seo-stat-number {
    font-size: 2.5em;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.2em;
    line-height: 1;
}

.seo-stat-label {
    font-size: 0.9em;
    color: #666;
}

.seo-stat-container {
    display: flex;
    justify-content: space-around;
    margin: 1.5em 0;
}

.seo-stat-box {
    text-align: center;
    padding: 1em;
}

.seo-actions {
    margin-top: 1em;
    margin-bottom: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
}

.seo-table th {
    background-color: #f5f7fa;
    padding: 0.8em;
    text-align: left;
    font-weight: 600;
    color: #444;
    border-bottom: 1px solid #ddd;
}

.seo-table td {
    padding: 0.8em;
    border-bottom: 1px solid #eee;
}

.seo-table tr:hover {
    background-color: #f9f9f9;
}

.seo-ranking-up {
    color: #28a745;
    font-weight: 600;
}

.seo-ranking-down {
    color: #dc3545;
    font-weight: 600;
}

.seo-ranking-same {
    color: #6c757d;
}

.seo-form-container {
    max-width: 700px;
    margin: 2em auto;
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.seo-form-container h2 {
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 1.6em;
    color: #333;
    text-align: center;
}

.seo-form-group {
    margin-bottom: 1.5em;
}

.seo-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #444;
}

.seo-form-group input,
.seo-form-group select,
.seo-form-group textarea {
    width: 100%;
    padding: 0.7em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.seo-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.seo-form-actions {
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
}

.keyword-tag {
    display: inline-block;
    padding: 0.3em 0.6em;
    background-color: #e6f7ff;
    color: #0066cc;
    border: 1px solid #91d5ff;
    border-radius: 12px;
    font-size: 0.85em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .seo-dashboard {
        grid-template-columns: 1fr;
    }
}

/* Auth Pages (Register, Verify, Login) */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
    background-color: #f5f5f5;
}

.auth-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-box h2 {
    margin: 0 0 1.5rem;
    color: #333;
}

.auth-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.auth-form input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.auth-form .button {
    width: 100%;
    margin-top: 1rem;
}

.auth-links {
    margin-top: 1rem;
}

.auth-links a {
    color: #007bff;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Onboarding */
.onboarding-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 200px);
    padding: 20px;
    background-color: #f5f5f5;
}

.onboarding-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

.onboarding-header {
    margin-bottom: 2rem;
    text-align: center;
}

.onboarding-header h2 {
    margin: 0 0 1rem;
    color: #333;
}

.progress-bar {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.progress {
    height: 100%;
    background-color: #007bff;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-indicator {
    color: #666;
    margin: 0;
}

.onboarding-form .form-group {
    margin-bottom: 1.5rem;
}

.onboarding-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.onboarding-form textarea {
    resize: vertical;
}

.onboarding-form .form-help {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

/* Common Elements */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.success-link {
    margin-top: 1rem;
    text-align: center;
}

.success-link a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.success-link a:hover {
    background-color: #218838;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.button:hover {
    background-color: #0056b3;
}

.button-secondary {
    background-color: #6c757d;
}

.button-secondary:hover {
    background-color: #545b62;
}
