 
#show-stop-form-btn{
     background-color: #003aac;
    border: 1px solid #003aac;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}
.ride-details-wrapper label,
.ride-details-wrapper h3,
.ride-details-wrapper h4,
.ride-details-wrapper p {
    color: white;
}

/* Switch container */
.switch {
  display: flex;
  align-items: center;
  gap: 5px;
    font-weight: 500;
    font-size: 11px;
  margin-bottom: 10px;
}

/* Hide the checkbox */
.switch input {
  display: none;
}

/* Slider styling */
.slider {
  position: relative;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  border-radius: 34px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Toggle ON state */
input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider::before {
  transform: translateX(26px);
}

/* Paragraph below */
.location-note {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  margin-left: 60px; /* Indent to align under the switch */
}

.ride-summary p {
    margin-bottom: 10px;
}

#add-stop-section {
    margin-top: 20px;
}

#stop-location {
    padding: 10px;
    width: 70%;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

#add-stop-btn,
#complete-ride-btn {
    background-color: #003aac;
    border: 1px solid #003aac;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#add-stop-btn:hover,
#complete-ride-btn:hover {
    background-color: #b74f13;
    border-color: #b74f13;
}

#complete-ride-btn:disabled {
    background-color: #888;
    border-color: #888;
    cursor: not-allowed;
}


/*.ride-details {*/
/*    max-width: 1000px;*/
/*    margin: 40px auto;*/
/*    padding: 30px;*/
/*    color:white ;*/
/*    border-radius: 12px;*/
/*    box-shadow: 0 0 20px rgba(0,0,0,0.05);*/
/*    display: flex;*/
/*    gap: 30px;*/
/*    flex-wrap: wrap;*/
/*    font-family: 'Segoe UI', sans-serif;*/
/*}*/

/*.ride-details h3 {*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    margin-bottom: 25px;*/
/*    color: #003aac;*/
/*    font-size: 60px;*/
/*}*/

/*.ride-left {*/
/*    flex: 2;*/
/*    min-width: 300px;*/
/*}*/

/*.ride-right {*/
/*    flex: 1;*/
/*    min-width: 220px;*/
/*}*/

/*.ride-info p {*/
/*    margin-bottom: 12px;*/
/*   font-size: 18px;*/
/*}*/

/*.image-stack {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 15px;*/
/*}*/

/*.image-block {*/
/*    text-align: center;*/
/*}*/

/*.image-block img {*/
/*    width: 100%;*/
/*    max-width: 130px;*/
/*    height: 130px;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 4px 10px rgba(0,0,0,0.1);*/
/*}*/

/*.image-block p {*/
/*    font-size: 13px;*/
/*    margin-top: 5px;*/
/*    color: white;*/
/*}*/

.ride-details {
    max-width: 1100px;
    /*margin: 40px auto;*/
    background: linear-gradient(to right, #1e1e1e, #2c2c2c);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    /*gap: 40px;*/
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

.ride-details h3 {
    width: 100%;
    text-align: center;
    font-size: 48px;
    color: #f97316;
    margin-bottom: 30px;
    font-weight: 600;
}

.ride-left {
    flex: 2;
    min-width: 320px;
}

.ride-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ride-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #555;
    padding: 8px 0;
    font-size: 18px;
}

.ride-row span {
    color: #f59e0b;
    font-weight: 600;
    min-width: 180px;
}

.ride-right {
    flex: 1;
    min-width: 260px;
}

.image-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.image-block {
    text-align: center;
}

.image-block img {
    width: 100%;
    max-width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f97316;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-block img:hover {
    transform: scale(1.05);
}

.image-block p {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

/* Main form container styling */
#ldr_ride_form {
    max-width: 700px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
#ldr_ride_form h3, #ldr_ride_form h4 {
    margin-bottom: 20px;
    color: #003aac;

}

/* Form group styling */
.ldr-form-group {
    margin-bottom: 0px;
}

.ldr-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.ldr-form-group input[type="text"],
.ldr-form-group input[type="number"],
.ldr-form-group input[type="file"],
.ldr-form-group input[type="datetime-local"],
.ldr-form-group input[type="url"],
.ldr-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.ldr-form-group .description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* New bike popup */
#ldr_new_bike_popup {
    border: 1px dashed #aaa;
    border-radius: 6px;
   
}

/* Buttons */
button.button,
a.button {
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    border: none;
    border-radius: 0px;
}

button.button-primary,
a.button.button-primary {
    background-color: #003aac;
    border-color: #003aac;
    color: white;
    font-size: 1.125rem;
    border-radius: 0px;
}

a.button{
    background-color: #003aac;
    border-color: #003aac;
    color: white;
    font-family: "Teko", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;

    font-size: 14px;
    border-radius: 0px;
}

button.button:hover,
a.button:hover {
   background-color: #003aac;
    border-color: #003aac;
    color: white;
    font-family: "Teko", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
}

/* Navigation area */
.ldr-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Hide inactive steps */
.ldr-form-section {
    display: none;
}
.ldr-form-section.active {
    display: block;
}

/* Stop entries styling */
.ldr-stop-entry {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #fafafa;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #ldr_ride_form {
        padding: 20px;
    }

    .ldr-navigation {
        /*flex-direction: column;*/
        align-items: flex-start;
    }

    button.button,
    a.button {
        margin-bottom: 0px;
    }
}



        .ldr-rides-container {
            max-width: 800px;
            margin: 0 auto;
            font-family: Arial, sans-serif;
        }
        .ldr-ride-card {
            /*background: #fff;*/
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .ldr-ride-title {
            margin-top: 0;
            color: #333;
        }
        .ldr-ride-meta {
            color: #666;
            font-size: 0.9em;
            margin-bottom: 15px;
        }
        .ldr-ride-actions {
            margin-top: 15px;
        }
        .ldr-notice {
            padding: 10px 15px;
            margin-bottom: 20px;
            border-radius: 4px;
        }
        .ldr-notice.success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .ldr-notice.error {
            background-color: #f8d7da;
            color: red;
            border: 1px solid #f5c6cb;
        }
        .ldr-start-form {
            background: #fff;
            padding: 20px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .ldr-form-group {
            margin-bottom: 0px;
        }
        .ldr-form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        .ldr-form-group input[type="file"],
        .ldr-form-group input[type="text"],
        .ldr-form-group textarea,
        .ldr-form-group select {
            width: 100%;
            padding: 8px;
            box-sizing: border-box;
        }
        .ldr-stop-form {
            background: #f9f9f9;
            padding: 15px;
            margin-top: 20px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }
        .ldr-stop-item {
            background: #fff;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }
        .ldr-stop-item h4 {
            margin-top: 0;
        }
        .ldr-progress-container {
            margin: 20px 0;
        }
        .ldr-progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin-bottom: 30px;
        }
        .ldr-progress-steps:before {
            content: '';
            position: absolute;
            top: 10px;
            left: 0;
            right: 0;
            height: 2px;
            background: #ddd;
            z-index: 1;
        }
        .ldr-progress-step {
            text-align: center;
            position: relative;
            z-index: 2;
        }
        .ldr-progress-step.completed .ldr-step-number {
            background: #4CAF50;
            color: white;
        }
        .ldr-progress-step.active .ldr-step-number {
            background: #2196F3;
            color: white;
        }
        .ldr-step-number {
            width: 24px;
            height: 24px;
            line-height: 24px;
            border-radius: 50%;
            background: #ddd;
            display: inline-block;
            margin-bottom: 5px;
        }
        .ldr-step-label {
            font-size: 12px;
            color: #666;
        }
        .ldr-form-section {
            display: none;
        }
        .ldr-form-section.active {
            display: block;
        }
        .ldr-navigation {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
        }
        .button {
            padding: 8px 16px;
            background: #f3f3f3;
            border: 1px solid #ddd;
            border-radius: 3px;
            cursor: pointer;
            text-decoration: none;
            color: #333;
        }
        .button-primary {
            background: #0073aa;
            color: white;
            border-color: #006799;
        }
        .button:hover {
            background: #e5e5e5;
        }
        .button-primary:hover {
            background: #008ec2;
            color: white;
        }
    .ldr-form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ldr-form-group {
        display: flex;
        flex-direction: column;
    }

    @media screen and (max-width: 768px) {
        .ldr-form-grid {
            grid-template-columns: 1fr;
        }
    }

    #ldr_new_bike_popup {
        grid-column: 1 / -1; /* Make popup span full width in the grid */
    }

    .ldr-navigation {
        /*margin-top: 20px;*/
    }
    
    .ldr-ride-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.ldr-ride-meta-grid p {
    width: calc(50% - 15px); /* Two columns with gap */
    margin: 0;
}

.stop-point {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    background: #f9f9f9;
}
.stop-point img {
    margin-top: 8px;
    margin-right: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#stop-points-container {
    background-color:#1a1a1a !important;
}
.stop-point {
     background-color:#1a1a1a !important;
}

p>span {
    color: #ffffff;
}

p>small {
    color: #ffffff;
}

.ldr-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

/* Horizontal layout for tablet and above */
/*@media (min-width: 800px) {*/
/*  .ldr-form-group {*/
/*    flex-direction: row;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*  }*/

/*  .ldr-form-group label {*/
/*    width: 160px;*/
/*    margin-bottom: 0;*/
/*  }*/
  
  /*.ldr-navigation {*/
  /*  flex-direction: row;*/
  /*}*/

/*  .ldr-form-group input,*/
/*  .ldr-form-group select,*/
/*  .ldr-form-group textarea {*/
/*    flex: 1;*/
/*  }*/

/*  .ldr-form-group p.description {*/
    /*margin-left: 170px*/
/*    margin-top: 2px;*/
/*    font-size: 0.85em;*/
/*    color: #666;*/
/*  }*/
/*}*/

/*.ldr-form-group {*/
/*  margin-bottom: 20px;*/
/*}*/

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.input-row label {
  flex: 0 0 160px; /* smaller fixed width */
  font-weight: 500;
}

.input-row input,
.input-row select {
  flex: 1;
  padding: 6px 10px;
  max-width:300px;
  box-sizing: border-box;
}

.ldr-form-group p.description {
  margin: 5px 0 0 120px; /* align under input */
  font-size: 0.85em;
  color: #666;
}


.ldr-ride-container {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: white;
    background: #131313;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ldr-ride-header {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e1e1;
}

.ldr-ride-header h2 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.ldr-logo {
    border-radius: 4px;
}

.ldr-section {
    margin-bottom: 30px;
    background: #131313;
    padding: 20px;
        color: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ldr-section-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: white;
    font-size: 1.3em;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.ldr-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ldr-detail-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ldr-detail-row {
    display: flex;
    align-items: baseline;
}

.ldr-detail-label {
    font-weight: 600;
    min-width: 120px;
    color: white;
}

.ldr-detail-value {
    flex: 1;
    word-break: break-word;
}

.ldr-evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.ldr-evidence-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.ldr-evidence-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

.ldr-evidence-label {
    margin: 0;
    padding: 8px 10px;
    font-size: 0.9em;
    text-align: center;
    background: #131313;
}

.ldr-stop-point {
     background: #131313;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ldr-stop-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: white;
}

@media (max-width: 768px) {
    .ldr-two-column-grid,
    .ldr-evidence-grid {
        grid-template-columns: 1fr;
    }
    
    .ldr-detail-label {
        min-width: 100px;
    }
}

.ldr-evidence-grid {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.ldr-evidence-card {
    width: 160px; /* Fixed width for thumbnails */
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.ldr-evidence-card img {
    width: 100%;
    height: 120px; /* Fixed height */
    object-fit: cover; /* Ensures images fill container without distortion */
    border-bottom: 1px solid #eee;
}

.ldr-evidence-label {
    margin: 0;
    padding: 8px;
    font-size: 0.85em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
input[type="number"]{
    flex: 1;
    margin-bottom: 0;
}

    .info-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-left: 5px;
        border-radius: 50%;
        text-align: center;
        line-height: 16px;
        font-size: 12px;
        cursor: help;
        position: relative;
    }
    
    .info-icon:hover::after {
        content: attr(title);
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 10px;
        width: 200px;
        padding: 10px;
        background: white;
        color:black;
        border: 1px solid black;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 100;
        white-space: pre-line;
    }
    
   

.ldr-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.ldr-detail-row {
    display: flex;
    margin-bottom: 8px;
}



.ldr-detail-value {
    word-break: break-word;
}

.ldr-evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.ldr-evidence-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.ldr-evidence-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}



@media (max-width: 768px) {
    .ldr-two-column-grid,
    .ldr-evidence-grid {
        grid-template-columns: 1fr;
    }
}

.ldr-stop-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
    width: 100%;
}

.ldr-stop-point {
    position: relative;
    padding-bottom: 0;
}