
.active-class {
    border: 1px solid #ed1c24;
    color: #ed1c24;
    padding: 8px 10px;
    display: inline-block;
    border-radius: 5px;
}

.checkmark {
    font-size: 20px;
    color: #ed1c24;
    margin-right: 16px;
}

.active-class .checkmark {
    font-weight: bold;
}
.medjunarodni-header{
    display: flex; justify-content: space-between; align-items: center;
}
.povratno-putovanje{
    background: #fff0f0;
    color: #535353;
    text-transform: uppercase;
    padding: 26px;
    border: 1px solid #ffdede;
}
.form-wrapper{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 10px;
    gap:50px;
}
/* Form container */
.form-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 10px;
}

/* Form groups */
.form-group {
    margin-bottom: 15px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Select elements */
.form-wrapper .form-control {
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    transition: border-color 0.3s;
    height: 40px;
    min-width: 200px;
    max-width: 230px;
}
.withCar .form-control{
    max-width: 100%;
}

.form-wrapper .form-control:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Debug information section */
.debug-info {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap:44px;
}
.debug-info .part{
    flex-basis: 48%;
}
@media (max-width:600px){
    .debug-info {
        flex-direction: column;
    }
    .debug-info .part{
        flex-basis: 100%;
    }

}

.debug-info p {
    margin: 5px 0;
}
.debug-button{
    background: #0B4B7C;
    color: #fff;
    padding: 4px 13px;
    border-radius: 4px;
    border:none;
}
.debug-button.sec{
    background: #dddddd;
    color: #333333;
}
.debug-button[disabled]{
    background: #7c9ab9;
    cursor: not-allowed;
}
/* Responsive adjustments */
@media (max-width: 600px) {
    .form-container {
        padding: 15px;
    }

    .form-wrapper .form-control {
        padding: 8px;
    }
}

/* Hide default checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox design */
.custom-checkbox {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #4a90e2;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    transition: background 0.3s, border-color 0.3s;
}

/* Add checkmark when checked */
.custom-checkbox input:checked + .checkmark {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s;
}

/* Show checkmark when checked */
.custom-checkbox input:checked + .checkmark::after {
    opacity: 1;
}
.radio-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 25px;
}
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    padding: 9px;
    width: 150px;
    border-radius: 3px;
    border: 1px solid #dddddd;
}
.radio-input {
    display: none;
}
.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid gray;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    margin-right: 10px;
}
.radio-input:checked + .custom-radio {
    border-color: #d03030;
    background-color: #d03030;
}
.radio-label:has(.radio-input:checked) {
    background-color: #d03030;
    font-weight: bold;
    color: #ffffff;
}
.radio-input:checked + .custom-radio::after {
    /*content: '\2713'; !* Checkmark symbol *!*/
    /*font-size: 16px;*/
    /*font-weight: bold;*/
    /*color: white;*/
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    content: "";
    position: absolute;
    left: 5px;
    top: -2px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 1;
    transition: opacity 0.2s;
}
.seats{
    max-width:400px;
}
.pagination-ellipsis {
    padding: 6px 12px;
    display: inline-block;
    color: #999;
    pointer-events: none;
}
.accordion {
    background: white;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e8ecf3;
    transition: all 0.3s ease;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    transform: translateY(-2px);
}

.accordion-header.active {
    background: linear-gradient(135deg, #0868b5 0%, #065391 100%);
    color: white;
}

.order-summary {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.order-id {
    font-weight: 600;
    font-size: 1.1rem;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.station {
    font-weight: 500;
    font-size: 0.95rem;
}

.arrow {
    width: 30px;
    height: 2px;
    background: #94a3b8;
    position: relative;
    border-radius: 1px;
}

.accordion-header.active .arrow {
    background: rgba(255, 255, 255, 0.7);
}

.arrow::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-top: 2px solid #94a3b8;
    transform: rotate(45deg);
}

.accordion-header.active .arrow::after {
    border-color: rgba(255, 255, 255, 0.7);
}

.time-info {
    text-align: center;
}

.time {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.date {
    font-size: 0.85rem;
    opacity: 0.7;
}

.price-info {
    text-align: right;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #059669;

}

.accordion-header.active .price {
    color: rgba(255, 255, 255, 0.95);
}

.currency {
    font-size: 0.9rem;
    opacity: 0.7;
}

.expand-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.expand-icon svg{
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-header.active .expand-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) rotate(180deg);
}

/*.expand-icon::before {*/
/*    content: '⌄';*/
/*    font-size: 18px;*/
/*    font-weight: bold;*/
/*    color: #64748b;*/
/*}*/

.accordion-header.active .expand-icon::before {
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.show {
    max-height: 500px;
    overflow-y: auto;
}

.content-inner {
    padding: 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detail-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-style: italic;
}

.train-route {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.route-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 1.1rem;
}

.route-stops {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stop {
    background: #e2e8f0;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
}

.stop.origin {
    background: #dcfce7;
    color: #166534;
}

.stop.destination {
    background: #fef3c7;
    color: #a16207;
}
.status-info{
    padding-right: 30px;
}
.status{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    border-radius: 22px;
}
.status.da {
    background: #dcfce7;
    color: #166534;
}

.status.ne {
    background: #fef3c7;
    color: #a16207;
}

@media (max-width: 768px) {
    .order-summary {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .route-info {
        justify-content: center;
    }

    .price-info {
        text-align: center;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }

    .accordion-header {
        padding: 20px;
    }
}
.tickets-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-header {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 20px;
}

.table-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tickets-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.tickets-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.tickets-table tr:hover {
    background: #f8f9fa;
    transition: background-color 0.2s ease;
}

.tickets-table tr:last-child td {
    border-bottom: none;
}

.ticket-number {
    font-weight: 600;
    color: #4CAF50;
    font-family: 'Courier New', monospace;
}

.passenger-name {
    font-weight: 500;
    color: #333;
}

.tickets-table .price {
    font-weight: 600;
    color: #ff9800;
    text-align: right;
    font-family: 'Courier New', monospace;
}

.tickets-table .currency {
    font-size: 0.9rem;
    color: #666;
    margin-left: 3px;
}

.loading {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    padding: 40px;
}

.no-tickets {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 40px;
    font-style: italic;
}

.table-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    border-top: 2px solid #e9ecef;
}

.total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.total-tickets {
    color: #666;
}

.total-amount {
    color: #ff9800;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .tickets-table {
        font-size: 0.9rem;
    }

    .tickets-table th,
    .tickets-table td {
        padding: 12px 15px;
    }

    .table-header {
        padding: 15px;
    }

    .total-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .tickets-table th,
    .tickets-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .tickets-table th {
        font-size: 0.8rem;
    }
}
.messagenemavozova{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px;
    background: #f6e3e3;
    border: 1px solid #e17f7f;
    border-radius: 10px;
    margin-top: 26px;
    color: #750606;
    font-size: 16px;
}