/* Dialoogvenster stijlen voor JTiP */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 98vw;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eaeaea;
}

.dialog-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.dialog-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #777;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 12px;
    right: 15px;
    transition: color 0.2s;
}

.dialog-close-btn:hover {
    color: #ff6600;
}

.dialog-body {
    padding: 10px 20px 20px 20px;
}

/* Form styling consistent met de website */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 1px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.form-select {
    display: block;
    width: 100%;
    padding: 1px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.validation-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Contract specifieke stijlen */
.salary-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.salary-scale, 
.salary-step {
    width: auto;
    min-width: 80px;
    flex: 1;
}

.salary-display {
    font-weight: bold;
    color: #ff6600;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
    min-width: 80px;
    text-align: center;
}

/* Knoppen styling */
.btn {
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #ff6600;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a00;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #495057;
}

.btn-secondary:hover {
    background-color: #dee2e6;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Responsieve aanpassingen */
@media (max-width: 576px) {
    .dialog-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .salary-selector {
        flex-direction: column;
        align-items: stretch;
    }
}

.wider-dialog {
    max-width: 1200px;
    width: 98vw;
} 