/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    overflow-x: hidden;
}

/* App Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Navigation Pane */
.navigation-pane {
    width: 320px;
    /* background: #2c3e50; */
    /* color: white; */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-320px); /* Hidden by default */
}

.navigation-pane.show {
    transform: translateX(0); /* Show when assessment starts */
}

.navigation-pane.collapsed {
    transform: translateX(-280px);
}

.nav-header {
    padding: 20px 10px;
    background: #14734f;
    border-bottom: 1px solid #4a5f7a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.navigation-pane.collapsed .nav-toggle-icon {
    transform: rotate(180deg);
}

.nav-content {
    padding: 0;
}

.nav-search {
    padding: 0 10px 10px;
    border-bottom: 1px solid #14734f;
    background: #14734f;
    position: sticky;
    top: 70px;
    z-index: 9;
}

.nav-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 100% !important;
    padding: 10px 40px 10px 12px !important;
    border: none !important;
    border-radius: 6px !important;
    background: #2c3e50 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

.nav-search-input::placeholder {
    color: #bdc3c7 !important;
}

.nav-search-input:focus {
    outline: none !important;
    background: #1a252f !important;
    box-shadow: 0 0 0 2px #3498db !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Ensure navigation search input maintains dark theme even when clicked */
/* .nav-search-container .nav-search-input {
    background-color: #fff !important;
    color: #ffffff !important;
} */

.nav-search-container .nav-search-input:focus,
.nav-search-container .nav-search-input:active,
.nav-search-container .nav-search-input:hover {
    background-color: #1a252f !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.nav-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #bdc3c7;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: none;
    transition: all 0.2s ease;
}

.nav-search-clear:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-search-clear.visible {
    display: block;
}

.nav-search-clear svg {
    width: 16px;
    height: 16px;
}

.nav-functions {
    padding: 10px 0;
    background: #f7f7f7;
}

.nav-section {
    margin-bottom: 5px;
}

.nav-section-header {
    padding: 12px 10px;
    /* background: #14734f; */
    font-weight: 600;
    /* font-size: 0.9rem; */
    /* text-transform: uppercase; */
    /* letter-spacing: 0.5px; */
    /* border-bottom: 1px solid #4a5f7a; */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.nav-section-header:hover {
    background: #14734f;
    color: white;
}

.nav-section-toggle {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-section.collapsed .nav-section-toggle {
    transform: rotate(-90deg);
}

.nav-section-items {
    display: block;
    transition: max-height 0.3s ease;
    overflow: hidden;
    border-left:2px solid #14734f;
    margin: 10px;
}

.nav-section.collapsed .nav-section-items {
    max-height: 0;
}

.nav-function-group {
    /* background: #14734f; */
    color: #2c3e50;
}

.nav-function-group-header {
    padding: 10px;
    /* background: #2980b9; */
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    transition: background-color 0.2s ease;
}

.nav-function-group-header:hover {
    background: #14734f;
    color: white;
}

/* Collapsible function group styles */
.nav-function-group-items {
    display: block;
    transition: max-height 0.3s ease;
    overflow: hidden;
    margin-left: 10px;
}

.nav-function-group.collapsed .nav-function-group-items {
    max-height: 0;
}

.nav-function-group.collapsed .nav-section-toggle {
    transform: rotate(-90deg);
}

.nav-function-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    /* color: #ecf0f1; */
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    /* border-left: 3px solid transparent; */
    cursor: pointer;
}

.nav-function-item:hover {
    background: #14734f;
    color: white;
    border-left-color: #3498db;
}

.nav-function-item.active {
    background: #14734f;
    color: white;
    font-weight: 500;
    border-radius: 8px;
}

.nav-function-item.completed {
    /* border-left-color: #27ae60; */
    color: #14734f;
    font-weight: bold;
}

.nav-function-item.completed:hover {
    color: white;
    border-radius: 8px;
}

.nav-function-item.incomplete {
    border-left-color: #e74c3c;
    color: #e67e22;
}

.nav-function-item.incomplete:hover {
    color: white;
    background: #e74c3c;
}

.nav-function-item.partially-filled {
    border-left-color: #f39c12;
    background: #f7f7f7;
    border-radius: 8px;
}

.nav-function-item.partially-filled:hover {
    color: white;
    background: #ccc;
}

.nav-function-item.not-started {
    /* border-left-color: #95a5a6;
    color: #fff; */
}

.nav-function-item.not-started:hover {
    color: white;
    background: #14734f;
    border-radius: 8px;
}

.nav-function-status {
    float: right;
    font-size: 0.7rem;
    margin-left: 8px;
}

.nav-function-status.completed {
    color: #14734f;
}

.nav-function-status.in-progress {
    color: #f39c12;
}

.nav-function-status.incomplete {
    color: #e74c3c;
}

.nav-function-status.partially-filled {
    color: #14734f;
}

.nav-function-status.not-started {
    /* color: #fff; */
}

/* Incomplete Assessment Warning Styles */
.incomplete-warning {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.warning-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.warning-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.completion-stats .stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 100px;
}

.completion-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.completion-stats .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #856404;
}

.warning-message p {
    margin: 0 0 10px 0;
}

.warning-message p:last-child {
    margin-bottom: 0;
}

.incomplete-items-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 20px 0;
}

.incomplete-section {
    border-bottom: 1px solid #ecf0f1;
}

.incomplete-section:last-child {
    border-bottom: none;
}

.section-title {
    background: transparent;
    color: #333;
    padding: 20px 0 10px 0;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    border: none;
}

.incomplete-function-group {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f2f6;
}

.incomplete-function-group:last-child {
    border-bottom: none;
}

.function-title {
    color: #2980b9;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e3f2fd;
}

.incomplete-function-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.incomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin: 5px 0;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.incomplete-item:hover {
    background: #fef2f2;
    border-color: #f87171;
    transform: translateX(5px);
}

.item-info {
    flex: 1;
}

.item-title {
    display: block;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.item-reason {
    display: block;
    font-size: 0.8rem;
    color: #dc2626;
    font-style: italic;
}

.goto-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 15px;
}

.goto-button:hover {
    background: #c0392b;
}

.warning-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.warning-actions .btn {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 500;
    min-width: 150px;
}

/* Responsive adjustments for warning interface */
@media (max-width: 768px) {
    .completion-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .completion-stats .stat-item {
        min-width: auto;
    }
    
    .warning-actions {
        flex-direction: column;
    }
    
    .warning-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .incomplete-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .goto-button {
        margin-left: 0;
        align-self: flex-end;
    }
    .progress-container, .workflow-step{
        width: 100%!important;
    }
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 0; /* No margin initially when nav is hidden */
    transition: margin-left 0.3s ease;
    min-height: 100vh;
}

.navigation-pane.show + .main-content {
    margin-left: 320px; /* Add margin when navigation is shown */
}

.navigation-pane.show.collapsed + .main-content {
    margin-left: 40px; /* Collapsed state when navigation is shown */
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #2c3e50;
    border: none;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: #34495e;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .navigation-pane {
        width: 280px;
        transform: translateX(-280px);
    }
    
    .navigation-pane.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .navigation-pane.collapsed + .main-content {
        margin-left: 0!important;
    }
    
    .nav-function-item {
        padding: 10px 30px;
        font-size: 0.85rem;
    }
    
    .container {
        padding-top: 60px;
    }
    
    header {
        margin-bottom: 20px;
    }
}

.container {

    margin: 0 auto;
    padding: 20px;
    align-items: center;
    justify-items: center;
}

/* Header styles */
header {
    /* margin-bottom: 40px; */
    padding: 20px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* color: white; */
    /* border-radius: 12px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Progress Indicator */
.progress-container {
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 60%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e1e8ed;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #14734f 0%, #14734f 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Workflow Steps */
.workflow-step {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    padding: 20px;
    overflow: hidden;
    width: 60%;
}

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

/* Step Header */
.step-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.step-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

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

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: #14734f;
    margin-bottom: 15px;
    font-weight: 500;
}

.breadcrumb span {
    color: #14734f;
}

/* Description Box */
.description-box {
    /* background-color: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px; */
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2c3e50;
}

.description-box p {
    margin: 0 0 10px 0;
}

.description-box p:last-child {
    margin-bottom: 0;
}

.description-box strong {
    font-weight: 600;
    display: block;
}

/* Form styles */
.assessment-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* .form-section {
    padding: 30px;
    border-bottom: 1px solid #e1e8ed;
} */

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 4px solid  #14734f;
    padding-left: 15px;
}

.form-section h3 {

    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.form-section h4 {

    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Form group styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
}

.question-label {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Mandatory field indicator */
.required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

/* Input styles */
input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    background-color: #fff;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #14734f;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    padding: 12px!important;
}

select {
    cursor: pointer;
}

/* Checkbox styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.checkbox-group label:hover {
    color: #14734f;
}

input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #14734f;
    flex-shrink: 0;
}

.checkbox-group label input[type="checkbox"] {
    margin-right: 12px;
}

/* Radio button styles - Apply to all radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base radio label styles */
.radio-label,
.form-section .radio-label,
.conditional-section .radio-label,
.technology-details .radio-label,
.roadmap-details .radio-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0;
}

/* Hover states */
.radio-label:hover,
.form-section .radio-label:hover,
.conditional-section .radio-label:hover,
.technology-details .radio-label:hover,
.roadmap-details .radio-label:hover {
    border-color: #14734f;
    background-color: #f8f9ff;
}

/* Hide all radio inputs */
input[type="radio"] {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Custom radio button appearance */
.radio-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #14734f;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background-color: #fff;
    display: inline-block;
}

/* Checked state for custom radio */
.radio-label input[type="radio"]:checked + .radio-custom,
.form-section .radio-label input[type="radio"]:checked + .radio-custom,
.conditional-section .radio-label input[type="radio"]:checked + .radio-custom,
.technology-details .radio-label input[type="radio"]:checked + .radio-custom,
.roadmap-details .radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #14734f;
    background-color: #14734f;
}

/* Inner dot for checked radio */
.radio-label input[type="radio"]:checked + .radio-custom::after,
.form-section .radio-label input[type="radio"]:checked + .radio-custom::after,
.conditional-section .radio-label input[type="radio"]:checked + .radio-custom::after,
.technology-details .radio-label input[type="radio"]:checked + .radio-custom::after,
.roadmap-details .radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

/* Text styling for checked state */
.radio-label input[type="radio"]:checked + .radio-custom + span,
.form-section .radio-label input[type="radio"]:checked + .radio-custom + span,
.conditional-section .radio-label input[type="radio"]:checked + .radio-custom + span,
.technology-details .radio-label input[type="radio"]:checked + .radio-custom + span,
.roadmap-details .radio-label input[type="radio"]:checked + .radio-custom + span {
    font-weight: 600;
    color: #14734f;
}

/* Conditional sections */
.conditional-section {
    background-color: #f8f9ff;
    border-left: 4px solid #14734f;
    margin: 20px 0;
    border-radius: 8px;
    padding: 10px 20px;
}

/* Roadmap details subsection */
.roadmap-details {
    background-color: #f0f4ff;
    border: 2px solid #d1e0ff;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    animation: slideIn 0.3s ease-out;
}

.roadmap-details .form-group {
    margin-bottom: 20px;
}

.roadmap-details .question-label {
    color: #4a5568;
    font-size: 0.95rem;
}

/* Technology details subsection */
.technology-details {
    /* background-color: #f8fff8;
    border: 2px solid #c6f6d5;
    border-radius: 8px;
    padding: 20px; */
    margin: 15px 0;
    animation: slideIn 0.3s ease-out;
}

.technology-details .form-group {
    margin-bottom: 20px;
}

.technology-details .question-label {
    color: #2d5016;
    /* font-size: 0.95rem; */
    font-weight: 500;
}

/* Dynamic software entry styles */
.software-entry {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.software-entry .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.software-entry .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.remove-software {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-software:hover {
    background: #c0392b;
}

.add-software {
    border: 2px solid #14734f;
    color: #14734f;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.add-software:hover {
    background: #229954;
}

.add-software::before {
    content: '+';
    font-weight: bold;
    font-size: 16px;
}

/* Provider details subsection */
.provider-details {
    background-color: #fff8f0;
    border: 2px solid #ffd6a5;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    animation: slideIn 0.3s ease-out;
}

.provider-details .form-group {
    margin-bottom: 20px;
}

.provider-details .question-label {
    color: #8b4513;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Month input styling */
input[type="month"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    cursor: pointer;
}

input[type="month"]:focus {
    outline: none;
    border-color: #14734f;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Step Actions */
.step-actions {
    /* padding: 30px;
    background-color: #f8f9fa; */
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* align-items: center; */
}

.step-actions .action-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.step-actions .btn {
    min-width: 120px;
}

/* Button styles */
.form-actions {
    padding: 30px;
    background-color: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #14734f 0%, #14734f 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {

    color: #14734f;
    border: 2px solid #14734f;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #14734f;
    border: 2px solid #14734f;
}

.btn-outline:hover {
    background-color: #14734f;
    color: white;
    transform: translateY(-2px);
}

/* Completion Summary */
.completion-summary {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    margin: 20px 0;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #14734f;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Messages */
.status-message {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-message.info {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

/* Result message styles */
.result-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
}

.result-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Function description display */
.function-description-display {
    background-color: #f8f9ff;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 16px;
    margin-top: 8px;
    min-height: 60px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2c3e50;
}

.function-description-display p {
    margin: 0 0 10px 0;
}

.function-description-display p:last-child {
    margin-bottom: 0;
}

.function-description-display strong {
    color: #14734f;
    font-weight: 600;
}

.function-description-display:empty {
    display: none;
}

/* Required field indicator */
label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    .step-header h2{
        font-size: 1.3rem;
    }
    .form-section h3{
        font-size: 1.2rem;
    }
    .form-section h4{
        font-size: 1.1rem;
    }
    .step-header {
        margin-bottom: 10px;
    }
    .nav-toggle {
        display: none;
    }

    .form-section {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-label {
        padding: 10px 12px;
    }
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for conditional sections */
.conditional-section {
    animation: slideIn 0.3s ease-out;
}

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

/* Focus indicators for accessibility */
input:focus,
select:focus,
textarea:focus,
.radio-label:focus-within {
    outline: 1px solid #14734f;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background-color: white;
    }
    
    .form-actions {
        display: none;
    }
    
    .conditional-section {
        background-color: #f9f9f9;
    }
}

/* Floating Question Button */
.floating-question-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #14734f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    z-index: 1001;
    border: none;
}

.floating-question-btn:hover {
    background: #14734f;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

.question-icon {
    color: white;
    font-size: 24px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* Question Modal */
.question-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    animation: fadeIn 0.3s ease;
}

.question-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.question-modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.question-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #95a5a6;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.question-modal-close:hover {
    background: #ecf0f1;
    color: #7f8c8d;
}

.question-modal-body {
    padding: 25px;
}

.question-modal .form-group {
    margin-bottom: 20px;
}

.question-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.question-modal .required {
    color: #e74c3c;
}

.question-modal input[type="email"],
.question-modal textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.question-modal input[type="email"]:focus,
.question-modal textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.question-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.question-modal-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
}

.question-modal-actions .btn-secondary {
    background: #95a5a6;
    color: white;
}

.question-modal-actions .btn-secondary:hover {
    background: #7f8c8d;
}

.question-modal-actions .btn-primary {
    background: #14734f;
    color: white;
}

.question-modal-actions .btn-primary:hover {
    background: #14734f;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for question modal */
@media (max-width: 768px) {
    .floating-question-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .question-icon {
        font-size: 20px;
    }
    
    .question-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .question-modal-header,
    .question-modal-body {
        padding: 20px;
    }
    
    .question-modal-actions {
        flex-direction: column;
    }
    
    .question-modal-actions .btn {
        width: 100%;
    }
}

/* Mandatory field note styling */
.mandatory-field-note {
    /* text-align: center; */
    margin-top: 0;
    padding: 0;
}

.mandatory-field-note p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
}

.required-asterisk {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

#currentDescription p strong {
    display: none;
}

.nav-function-item.active .nav-function-status  {
    display: none;
}
.question-description {
    color: #666;
}
.form-group select {
    padding: 12px;
}