.dpia-step-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.question-container {
    margin-bottom: 20px;
}

.question-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

textarea.form-input {
    min-height: 100px;
    resize: none;
    overflow: hidden;
    transition: height 0.2s ease;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-group div, .checkbox-group div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-group div input, .checkbox-group div input {
    margin-right: 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.navigation-buttons button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.ai-help-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4F46E5;
    background-color: #EEF2FF;
    border: 1px solid #E0E7FF;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.ai-help-button:hover {
    background-color: #E0E7FF;
    border-color: #C7D2FE;
}

.ai-help-button svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.summary-container {
    max-width: 800px;
    margin: 0 auto;
}

.summary-step {
    transition: all 0.3s ease;
}

.summary-step:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.summary-qa {
    transition: background-color 0.2s ease;
}

.summary-qa:hover {
    background-color: #f8fafc;
}

.summary-actions button {
    transition: all 0.2s ease;
}

.pdf-content {
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Progressbar styles */
.progress-bar-container {
    display: flex;
    overflow: hidden;
    gap: 2px;
    height: 8px;
    background-color: rgb(229 231 235);
    border-radius: 9999px;
    width: 100%;
}

.progress-bar-container > div {
    position: relative;
    height: 100%;
    flex: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-bar-container > div.bg-blue-600 {
    background-color: rgb(37 99 235);
}

.progress-bar-container > div.bg-gray-200 {
    background-color: rgb(229 231 235);
}

.progress-bar-container > div:hover {
    opacity: 0.8;
}

.progress-bar-container > div:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 50;
}

.progress-bar-container > div:hover::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
    z-index: 50;
}

/* Nye header-stiler */
.header-logo {
    transition: all 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-project-selector {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.875rem;
    color: #374151;
    width: 100%;
}

.header-project-selector:focus {
    box-shadow: none;
}

.header-project-selector option {
    background: white;
    color: #374151;
}

/* Oppdaterte prosjektkontroll-stiler */
.project-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-controls select {
    min-width: 200px;
    background-color: transparent;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    outline: none;
}

.project-controls select:focus {
    box-shadow: none;
}

.project-controls button {
    white-space: nowrap;
    transition: all 0.2s ease;
}

.project-controls button:hover {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .project-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .project-controls select {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .project-controls button {
        width: 100%;
    }
}

/* Header responsive design */
@media (max-width: 768px) {
    .header-logo-text {
        display: none;
    }
    
    .header-navigation {
        display: none;
    }
    
    .header-subscription-text {
        display: none;
    }
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-content input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.modal-content button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.modal-content button:hover {
    transform: translateY(-1px);
}

.modal-content .flex.justify-end.space-x-2 {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.modal-button.cancel-button {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.modal-button.cancel-button:hover {
    background-color: #e5e7eb;
}

.modal-button.confirm-button {
    background-color: #ef4444;
    color: white;
    border: none;
}

.modal-button.confirm-button:hover {
    background-color: #dc2626;
}

.modal-button:hover {
    transform: translateY(-1px);
} 

/* Tooltip styles */
[title] {
    position: relative;
}

[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: translateY(-8px);
    padding: 8px 12px;
    background: #1F2937;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    white-space: pre-wrap;
    max-width: 400px;
    min-width: 320px;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

[title]:hover::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #1f2937 transparent;
} 

.auto-expand {
    overflow: hidden;
    transition: height 0.2s ease;
} 

/* Custom radio button styling */
.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-group input[type="radio"]:checked {
    border-color: #2563eb;
    background-color: #2563eb;
}

.radio-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.4rem;
    height: 0.4rem;
    background-color: white;
    border-radius: 50%;
}

.radio-group input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.radio-group input[type="radio"]:hover {
    border-color: #2563eb;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    gap: 0.5rem;
}

.radio-group label:hover {
    background-color: #f3f4f6;
}

/* Ny stil for radio label tekst */
.radio-group label span {
    margin-left: 0.75rem;
    color: #374151;  /* gray-700 */
    font-size: 0.875rem;  /* 14px */
    line-height: 1.25rem;
} 

/* Custom checkbox styling */
.checkbox-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    border-color: #2563eb;
    background-color: #2563eb;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 0.3rem;
    height: 0.6rem;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: #2563eb;
}

.checkbox-group label:hover {
    background-color: #f3f4f6;
}

.checkbox-group label span {
    margin-left: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.25rem;
} 

.label-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    width: 100%;
}

.info-icon {
    color: #6B7280;
    cursor: help;
    font-size: 14px;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
    position: relative;
}

.info-icon:hover {
    color: #2563EB;
    background-color: #EFF6FF;
} 