/* Basis styling */
.atc-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 32px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #000;
    font-size: 14px;
}

.atc-title {
    display: none;
}

h2 {
    font-size: 23px;
    font-weight: 300;
    margin-bottom: 24px;
}

/* Voortgangsindicator */
.atc-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
    margin: 0 -32px 32px;
    padding: 0 32px;
}

.atc-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #000;
    z-index: 1;
}

.atc-progress-step {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 16px;
    font-weight: 300;
    font-size: 12px;
}

.atc-progress-step.active {
    font-weight: 700;
}

/* Grid layout voor stappen */
.atc-steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.atc-step {
    display: none;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #000;
    padding: 40px;
}

.atc-step.active {
    display: block;
}

/* Formulier en kalender naast elkaar */
.atc-form-section,
.atc-calendar-section {
    grid-column: span 1;
}

.atc-calendar-view {
    border: 1px solid #000;
    padding: 16px;
}

.atc-form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 20px;
}

.atc-form-group.full-width {
    grid-column: 1 / -1;
}

.atc-form-group {
    margin-bottom: 16px;
}

.atc-form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.atc-form-group input,
.atc-form-group textarea,
.atc-form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

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

/* Radio button styling */
.atc-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.atc-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 300;
}

.atc-radio-label input[type="radio"] {
    margin-right: 8px;
    width: auto;
    accent-color: #000;
}

.atc-radio-label:hover {
    color: #333;
}

/* Commissie informatie sectie */
.atc-commission-info {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
}

.atc-commission-info p {
    margin-bottom: 10px;
}

.atc-commission-info ul {
    margin-left: 20px;
}

.atc-commission-info li {
    margin-bottom: 5px;
}

/* Knoppen */
.atc-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* Algemene button styling */
.atc-button {
    padding: 12px 24px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.atc-button:hover {
    background: #f5f5f5;
    color: #000;
    text-decoration: none;
}

/* Primary button variant */
.atc-button.atc-primary {
    background: #000;
    color: #fff;
}

.atc-button.atc-primary:hover {
    background: #333;
    color: #fff;
}

/* Selected state voor knoppen */
.atc-button.selected {
    background: #000;
    color: #fff;
}

/* Persoonlijke informatie stap styling */
.atc-personal-info-step {
    display: none;
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 30px;
    width: 100%;
    margin: 0 auto;
}

.atc-personal-info-step.active {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 20px;
}

.atc-calendar-section {
    padding-left: 10px;
}

.atc-form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Normale stappen styling */
.atc-normal-steps {
    width: 100%;
    margin: 0 auto;
}

.atc-normal-steps .atc-step {
    width: 100%;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 30px;
}

.atc-normal-steps .atc-step.active {
    display: block;
}

/* Form section - netjes rechts */
.atc-form-section {
    padding-right: 20px;
    border-right: 1px solid #eee;
}

/* Overzicht styling */
.atc-overview-details,
.atc-overview-personal,
.atc-overview-commission {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.atc-overview-details h3,
.atc-overview-personal h3,
.atc-overview-commission h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.atc-overview-details p,
.atc-overview-personal p,
.atc-overview-commission p {
    margin-bottom: 10px;
}

/* Loader */
.atc-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: atc-spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes atc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.atc-confirmation {
    text-align: center;
}

.atc-confirmation-message {
    display: none;
}

.atc-confirmation-message.visible {
    display: block;
}

/* Styling voor de introductietekst */
.atc-intro-text {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    max-width: 800px;
    margin: 0 0 40px 0;
}

/* Melding styling */
.atc-step-message {
    margin: 0 0 20px;
    padding: 14px 16px;
    background-color: #FEF2F2;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.atc-step-message p {
    margin: 0;
    color: #DC2626;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
}

.atc-step-message-close {
    background: none;
    border: none;
    padding: 4px;
    margin-left: 12px;
    color: #DC2626;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.atc-step-message-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .atc-radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .atc-progress {
        display: none;
    }

    .atc-personal-info-step.active {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .atc-calendar-section {
        padding-left: 0;
        order: 1;
        margin-bottom: 20px;
    }

    .atc-form-section {
        border-right: none;
        padding-right: 0;
        margin-bottom: 20px;
        order: 2;
    }

    .atc-buttons {
        flex-direction: column;
        gap: 8px;
        order: 3;
        margin-top: 20px;
    }

    .atc-button {
        width: 100%;
    }

    .atc-form-group-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
  .atc-container {
    padding: 0 !important;
  }
}
