  /* General Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

main.all_form_content h4 {
    font-size: 15px;
    margin: 0;
    font-weight: bold;
}

main.all_form_content h3 {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-weight: 700;
}

span.highlight {
    color: #be2145;
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
}

.content {
    flex: 3;
}

.vehicle-option.active {
    background: #be2145;
    color: #fff;
}

/* Header */
.header {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    color: var(--e-global-color-primary);
    margin-bottom: 15px;
}

.entry-title {
    display: none !important;
}

.info-box {
    display: flex;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    flex: 1;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Tabs */
.tabs {
    display: flex;
    background: #f9f9f9;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s;
    position: sticky;
    top: 20px;
}

.tab.active {
    background: var(--e-global-color-primary);
    color: #fff;
}

/* Main Content */
.all_form_content {
    display: flex;
    gap: 10px;
    align-items: self-start;
    margin-bottom: 50px;
}

/* Form Section */
.vehicle-form {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vehicle-type {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vehicle-option {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, border 0.3s;
}

.vehicle-option:hover {
    border-color: var(--e-global-color-primary);
    background: #ffe5cc;
}

/* Sticky Sidebar */
.cost-summary {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
}

.cost-summary table {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.cost-summary table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.total {
    font-weight: bold;
    background: #f9f9f9;
}

.main_btn {
    background: var(--e-global-color-primary);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.main_btn:hover {
    background: #e69500;
}

.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
}

.vehicle-type input {
    display: none;
}

.first_form .form-group {
    width: 25%;
}

.first_form .form-group:nth-child(2) {
    width: 50%;

}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    justify-content: center;
    text-align: center;
}

.radio-option.active {
    background: var(--e-global-color-primary);
    color: #fff;
    border-color: var(--e-global-color-primary);
    font-weight: bold;
}

.radio-option:hover {
    border-color: var(--e-global-color-primary);
    background: #ffe6cc;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option span {}

.technical-data {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.technical-data td {
    border: 1px solid #ddd;
    padding: 8px;
}

/* Switches */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    display: none;
}

.switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    border-radius: 20px;
    transition: 0.4s;
    margin: 0;
}

.switch label:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.switch input:checked+label {
    background-color: var(--e-global-color-primary);
}

.switch input:checked+label:before {
    transform: translateX(20px);
}

.instructions .alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.instructions .instruction-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instructions .instruction-icons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.instructions .instruction-icons li {
    font-size: 14px;
    color: #666;
}

/* Document Section */
.document-section {
    margin-top: 20px;
}

.document-row {
    gap: 20px;
    margin-bottom: 20px;
    display: none!important;
}

.document-card {
    flex: 1;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
}

.document-card img {
    max-width: 50px;
    margin-bottom: 10px;
}

.upload-placeholder {
    margin-top: 10px;
}

.upload-btn,
.delete-btn,
.change-btn {
    background: orange;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.upload-btn:hover,
.delete-btn:hover,
.change-btn:hover {
    background: darkorange;
}

.delete-btn {
    background: #ff6f61;
}

.delete-btn:hover {
    background: #e65151;
}

.change-btn {
    background: #6ccf7b;
}

.change-btn:hover {
    background: #59b268;
}
.button.mobile_menu.main_btn{
display: none;
}
button.mobile_menu.main_btn {
    display: none;
}
.document-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.document-card {
    flex: 1;
    min-width: 280px; /* Minimum width to prevent overflow on small screens */
    max-width: 400px;
    text-align: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.document-card label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}



.document-row video, .document-row canvas {
    width: 100%;
    max-height: 200px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .document-row {
        display: flex!important;
        flex-direction: column;
        align-items: center;
    }
    .document-card{
        margin-bottom: 10px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab_group {
    flex-flow: column;
}
    button.mobile_menu.main_btn {
        position: fixed;
        z-index: 55;
        right: 10px;
        bottom: 28px;
        display: block;
        z-index: 556;
    }
    .document-row {
        display: block;
        gap: 20px;
        margin-bottom: 20px;
    }
    aside.cost-summary.sticky {
        position: fixed;
        left: -500px;
        transition: .3s;
        z-index: 555;
        height: 100%;
        top: -20px;
    }
    aside.cost-summary.sticky.active{
        position: fixed;
        left: 0px;
    }
    .instruction-details img {
        width: 132px;
    }
    .info-box {
        flex-direction: column;
    }

    .content {
        flex-direction: column;
    }

    .cost-summary {
        margin-top: 20px;
    }
}