/* Global Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    line-height: 1.6;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

/* Route Detail Styles */
.route-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.route-header {
    background: #ec008c;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.route-title {
    color: white;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.header-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-button {
    background: white;
    color: #ec008c;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.header-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.route-info-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.section-title {
    color: #ec008c;
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.info-item {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-item label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.info-item span {
    font-size: 16px;
    color: #212529;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: capitalize;
    background: #e9ecef;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.completed {
    background: #f0fdf4;
    color: #16a34a;
}

.highlight-number {
    color: #ec008c;
    font-size: 20px;
    font-weight: 600;
}

.money {
    color: #198754;
    font-weight: 600;
}

.timestamp {
    font-size: 14px;
    color: #6c757d;
}

.input-item input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.input-item input:focus {
    border-color: #ec008c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 0, 140, 0.1);
}

.button {
    grid-column: span 2;
    height: 48px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.update-button {
    background: #000;
    color: white;
}

.calculate-button {
    background: #ec008c;
    color: white;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.driver-info {
    word-break: break-all;
    font-size: 14px;
}

/* Timeline Styles */
.stops-timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
    margin-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #ccc;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #ccc;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: -30px;
    width: 2px;
    background: #ccc;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item.completed .timeline-marker {
    background: #ec008c;
    box-shadow: 0 0 0 3px #ec008c;
}

.timeline-item.in-progress .timeline-marker {
    background: black;
    box-shadow: 0 0 0 3px black;
}

.timeline-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Order Styles */
.order-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.order-id {
    font-weight: bold;
    color: #ec008c;
}

.order-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
    background: #000000;
    color: white;
}

.order-item.completed .order-status {
    background: #ec008c;
}

.order-item.in-progress .order-status {
    background: black;
}

.order-details small {
    color: #666;
    display: block;
    margin-top: 5px;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    background: #ec008c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
    font-family: Arial, sans-serif;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #d1007b;
}

/* Stop Card Styles */
.stop-card {
    padding: 1.5rem;
}

.stop-card h3 {
    color: #ec008c;
    margin-top: 0;
    margin-bottom: 15px;
}

.stop-card .location {
    font-weight: bold;
    margin-bottom: 10px;
}

.stop-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stop-details p {
    margin: 5px 0;
}

.stop-details strong {
    color: black;
}

/* Orders List Styles */
.orders-list {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.orders-list h4 {
    margin-bottom: 15px;
    color: #2d3748;
}

.order-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 15px;
    list-style: none;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.order-id {
    font-weight: bold;
    color: #2d3748;
}

.order-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    background: #edf2f7;
}

.order-details {
    font-size: 0.95rem;
}

.order-details p {
    margin: 5px 0;
}

.order-details small {
    color: #718096;
    display: block;
    margin-top: 10px;
}

/* Error Styles */
.error {
    background: #ffebeb;
    border: 1px solid #ec008c;
    color: #ec008c;
    padding: 10px;
    border-radius: 4px;
    margin: 20px;
    text-align: center;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
}

h2 {
    color: #ec008c;
    margin-bottom: 20px;
}

/* Generate Route Page Styles */
.generate-route-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.generate-route-container h1 {
    font-family: Arial, sans-serif;
    font-size: 32px;
    color: black;
    margin-bottom: 30px;
    font-weight: bold;
}

.current-routes h2 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #ec008c;
    margin: 30px 0 20px;
    font-weight: normal;
}

.routes-list {
    list-style: none;
    padding: 0;
}

.route-item {
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f8f8;
    border-radius: 10px;
    border-left: 4px solid #ec008c;
}

.route-id {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: black;
}

.route-actions {
    display: flex;
    align-items: center;
}

.view-details {
    background: #ec008c;
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.view-details:hover {
    background: #d1007b;
}

.delete-form {
    margin: 0;
}

.delete-button {
    background: none;
    color: #666;
    padding: 8px 0;
    border: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: underline;
}

.delete-button:hover {
    color: #333;
}

.button-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.button {
    padding: 12px 30px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.generate-button {
    background: #ec008c;
}

.generate-button:hover {
    background: #d1007b;
}

.home-button {
    background: black;
}

.home-button:hover {
    background: #333;
}

/* Add these new styles */
.assign-button {
    background: #333;
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    border: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 10px;
}

.assign-button:hover {
    background: #444;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    padding: 2rem;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.order-list {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.order-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 4px;
}

/* Modal açık olduğunda body scroll'u engelle */
body.modal-open {
    overflow: hidden;
}

/* Add these new styles */
.route-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.driver-badge {
    background: #333;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: normal;
}

.route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #f8f8f8;
    border-radius: 10px;
    border-left: 4px solid #ec008c;
}

.assign-button {
    min-width: 120px;
    text-align: center;
}

/* Route Form Specific Styles */
.route-form-container {
    max-width: 800px;
    width: 95%;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    height: auto;
}

.route-form-container h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.route-form-container .form-group {
    margin-bottom: 1rem;
}

.route-form-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ec008c;
}

.route-form-container .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.route-form-container .form-control:focus {
    outline: none;
    border-color: #ec008c;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.route-form-container .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.route-form-container .btn-primary {
    background: #ec008c;
    color: white;
}

.route-form-container .btn-primary:hover {
    background: #ec008c;
    transform: translateY(-1px);
}

.route-form-container .orders-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    height: auto;
    min-height: 100px;
}

.route-form-container .order-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Add responsive padding for mobile */
@media (max-width: 768px) {
    .route-form-container {
        margin: 1rem auto;
        padding: 1rem;
        width: 90%;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }
} 

/* Ensure the page wrapper allows scrolling */
#app, 
.wrapper, 
main {
    min-height: 100%;
    height: auto;
    overflow: visible;
} 

html, body {
    min-height: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#app {
    min-height: 100vh;
    height: auto;
    position: relative;
    padding-bottom: 2rem;
}

.container {
    min-height: 100vh;
    height: auto;
    padding-bottom: 2rem;
} 

/* Route Orders Container */
.route-orders {
    padding: 1rem;
    margin: 1rem 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    height: auto;
}

/* Selected Orders List */
.selected-orders {
    height: auto;
    margin: 1rem 0;
}

/* Scrollbar Styling */
.order-list::-webkit-scrollbar,
.route-orders::-webkit-scrollbar,
.selected-orders::-webkit-scrollbar {
    width: 8px;
}

.order-list::-webkit-scrollbar-track,
.route-orders::-webkit-scrollbar-track,
.selected-orders::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.order-list::-webkit-scrollbar-thumb,
.route-orders::-webkit-scrollbar-thumb,
.selected-orders::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
} 

/* Add these new styles at the appropriate location in your CSS file */

.page-wrapper {
    min-height: 100vh;
    background: #f5f7fa;
    padding: 2rem;
}

.route-form-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-header {
    background: #fff;
    padding: 2rem;
    border-bottom: 1px solid #edf2f7;
}

.form-header h1 {
    color: #2d3748;
    font-size: 1.875rem;
    margin: 0;
}

.subtitle {
    color: #718096;
    margin-top: 0.5rem;
}

.form-content {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.orders-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.order-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-stage {
    background: #ebf8ff;
    color: #4299e1;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.order-details {
    margin-bottom: 1rem;
}

.order-details p {
    margin: 0.5rem 0;
    color: #4a5568;
}

.btn-select {
    width: 100%;
    background: #4299e1;
    color: white;
    text-align: center;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
}

.json-output {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 1rem;
    }

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

    .modal-content {
        width: 95%;
        margin: 1rem auto;
    }
}

/* Ensure proper scrolling */
body {
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden;
} 

/* Style the route order items */
.route-order-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.route-order-item h4 {
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Custom scrollbar for better UX */
.orders-section::-webkit-scrollbar {
    width: 8px;
}

.orders-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.orders-section::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.orders-section::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Update form content to ensure proper layout */
.form-content {
    padding: 2rem;
    height: auto;
    overflow: visible;
}

/* Ensure the form container doesn't collapse */
.route-form-container {
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Update modal styles for better scrolling */
.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .orders-section {
        max-height: 300px; /* Slightly smaller on mobile */
    }
    
    .route-order-item {
        padding: 1rem;
    }
}

/* Update the remove order button styling */
.btn-danger {
    background: #fc8181;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.btn-danger:hover {
    background: #f56565;
}

.update-button {
    margin-top: 10px;
    background: #000000;
}

.update-button:hover {
    background: #000000;
}

.map-section {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#routeMap {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}

.order-image {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.order-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: none; /* Initially hidden until loaded */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unique-id-link {
    color: #ec008c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.unique-id-link:hover {
    color: #b1006a;
    text-decoration: underline;
}

.stop-card.cancelled {
    position: relative;
    opacity: 0.8;
    background-color: #f8f8f8;
}

.stop-card.cancelled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ff4444;
    border-radius: 4px 4px 0 0;
}

.cancelled-status {
    color: #ff4444;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 68, 68, 0.1);
    display: inline-block;
    margin: 4px 0;
}

.stop-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.cancel-stop-btn {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.cancel-stop-btn:hover {
    background-color: #cc0000;
}

.back-to-routes {
    background: #ec008c;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.routes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.routes-header {
    background: linear-gradient(135deg, #ec008c 0%, #c10074 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(236, 0, 140, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.new-route-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #ec008c;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.new-route-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.route-card.modern {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.route-card.modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.route-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.route-title-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #2d3748;
    font-size: 1.25rem;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: #718096;
}

.info-value {
    font-weight: 600;
    color: #2d3748;
}

.route-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.action-button.primary {
    background: #ec008c;
    color: white;
}

.action-button.secondary {
    background: #f7fafc;
    color: #4a5568;
}

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

.action-button.primary:hover {
    background: #d6007d;
}

.action-button.secondary:hover {
    background: #edf2f7;
}

.paid-status {
    color: #16a34a;
    font-weight: 500;
    background-color: #f0fdf4;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.icon.large {
    width: 48px;
    height: 48px;
}

.route-icon {
    color: #ec008c;
}

.status-icon {
    width: 16px;
    height: 16px;
}

.no-routes-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.no-routes-message .icon {
    color: #ec008c;
    margin-bottom: 1rem;
}

.no-routes-message p {
    color: #4a5568;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .routes-container {
        padding: 1rem;
    }

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

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .route-card-actions {
        flex-direction: column;
    }
}

/* Dashboard Styles */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    background: linear-gradient(135deg, #ec008c 0%, #c10074 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(236, 0, 140, 0.15);
}

.dashboard-header h1 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    gap: 2rem;
}

.dashboard-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-section h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.dashboard-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-button.primary {
    background: #ec008c;
    color: white;
}

.dashboard-button.secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.dashboard-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-button.primary:hover {
    background: #d6007d;
}

.dashboard-button.secondary:hover {
    background: #edf2f7;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.route-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.route-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.no-routes {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.no-routes p {
    color: #718096;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
} 

/* Modern Routes Table Styles */
.routes-table-wrapper {
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 32px 24px 24px 24px;
}
.routes-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    background: transparent;
}
.routes-table thead th {
    text-align: left;
    font-weight: 700;
    background: #f7f7fa;
    padding: 16px 12px;
    border-bottom: 2px solid #e2e8f0;
    color: #22223b;
}
.routes-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}
.routes-table tbody tr:hover {
    background: #f1f5f9;
}
.routes-table td {
    padding: 14px 12px;
    color: #2d3748;
    vertical-align: middle;
}
.routes-table .paid-status {
    color: #059669;
    font-weight: 600;
}
.routes-table .status-badge.completed {
    color: #059669;
    background: #e6f9f0;
    border-radius: 12px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 0.98em;
}
.routes-table .status-badge.pending {
    color: #b7791f;
    background: #fff7e6;
    border-radius: 12px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 0.98em;
}
.routes-table .status-badge.in-progress {
    color: #2563eb;
    background: #e6edfa;
    border-radius: 12px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 0.98em;
}
.routes-table .action-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}
.routes-table .action-link:hover {
    text-decoration: underline;
}
@media (max-width: 900px) {
    .routes-table-wrapper {
        padding: 12px 2px;
    }
    .routes-table {
        font-size: 0.95rem;
    }
}
@media (max-width: 700px) {
    .routes-table-wrapper {
        padding: 0;
        box-shadow: none;
        background: none;
    }
    .routes-table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }
    .routes-table thead, .routes-table tbody, .routes-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    .routes-table th, .routes-table td {
        padding: 10px 6px;
    }
} 