/* Admin Panel Styles */
.admin-body {
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-logo {
    text-align: center;
    margin-bottom: 30px;
}

.admin-logo i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 10px;
}

.admin-logo h2 {
    color: #2d3748;
    margin: 0;
}

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

.login-form label {
    display: block;
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

/* Admin Dashboard */
.admin-dashboard {
    display: none;
    height: 100vh;
    overflow: hidden;
}

.admin-dashboard.active {
    display: flex;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
    color: white;
    display: flex;
    flex-direction: column;
}

.admin-brand {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #4a5568;
}

.admin-brand i {
    font-size: 1.5rem;
    color: #667eea;
}

.admin-brand span {
    font-size: 1.2rem;
    font-weight: 700;
}

.admin-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-left-color: #667eea;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-divider {
    height: 1px;
    background: #4a5568;
    margin: 20px 0;
}

.nav-item.logout {
    margin-top: auto;
    color: #f56565;
}

.nav-item.logout:hover {
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
}

/* Main Content */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #718096;
}

.admin-user i {
    font-size: 1.5rem;
}

/* Admin Pages */
.admin-page {
    display: none;
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.admin-page.active {
    display: block;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 5px 0;
}

.stat-info p {
    color: #718096;
    margin: 0;
}

/* Dashboard Charts */
.dashboard-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart-card h3 {
    color: #2d3748;
    margin: 0 0 20px 0;
    font-size: 1.2rem;
}

.chart-placeholder {
    height: 200px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #718096;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #f7fafc;
    padding: 15px;
    text-align: left;
    color: #2d3748;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #4a5568;
}

.admin-table tr:hover {
    background: #f7fafc;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.completed {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.pending {
    background: #feebc8;
    color: #7b341e;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.action-btn.view {
    background: #667eea;
    color: white;
}

.action-btn.edit {
    background: #48bb78;
    color: white;
}

.action-btn.warning {
    background: #f56565;
    color: white;
}

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

/* Pricing Styles */
.pricing-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.pricing-section h3 {
    color: #2d3748;
    margin: 0 0 25px 0;
    font-size: 1.3rem;
}

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

.pricing-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.pricing-card h4 {
    color: #2d3748;
    margin: 0 0 15px 0;
}

.price-input-group {
    position: relative;
}

.price-input-group span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-weight: 600;
}

.price-input-group input {
    width: 100%;
    padding: 12px 15px 12px 35px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.save-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.save-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.payment-method-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.payment-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.payment-header h4 {
    flex: 1;
    margin: 0 0 0 10px;
    color: #2d3748;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #48bb78;
}

input:checked + .slider:before {
    transform: translateX(25px);
}

.payment-config {
    display: none;
}

.payment-method-card.active .payment-config {
    display: block;
}

/* Settings */
.settings-form {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.settings-form .form-group {
    display: grid;
    gap: 8px;
}

.settings-form label {
    color: #2d3748;
    font-weight: 500;
}

.settings-form input,
.settings-form select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.database-actions {
    display: flex;
    gap: 15px;
}

/* Routes */
.routes-list {
    display: grid;
    gap: 20px;
}

.route-admin-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
}

.route-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.route-admin-header h4 {
    color: #2d3748;
    margin: 0;
}

.route-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.route-stat {
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.route-stat .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.route-stat .label {
    color: #718096;
    font-size: 0.9rem;
}

/* Country Pricing */
.country-pricing {
    display: grid;
    gap: 20px;
}

.country-pricing-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.country-pricing-card h4 {
    color: #2d3748;
    margin: 0 0 15px 0;
}

.pricing-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.price-input-small {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-input-small label {
    font-size: 0.8rem;
    color: #718096;
}

.price-input-small input {
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Route Items */
.routes-sub-list {
    margin-top: 15px;
}

.route-item {
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.route-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.route-item-header h5 {
    color: #2d3748;
    margin: 0;
}

.usage-badge {
    background: #edf2f7;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.route-details {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #718096;
}

.route-count {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Payment method styles in orders */
.payment-method {
    background: #edf2f7;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Advanced Pricing Styles */
.pricing-note {
    color: #718096;
    margin-bottom: 20px;
    font-size: 1rem;
}

.country-pricing-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #f1f5f9;
    background: #f8fafc;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    color: #718096;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #edf2f7;
    color: #2d3748;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    padding: 0;
}

.pricing-tab {
    display: none;
    padding: 30px;
}

.pricing-tab.active {
    display: block;
}

.country-pricing-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.country-pricing-header h4 {
    color: #2d3748;
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.country-pricing-header p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

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

.price-input-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.price-input-item.full-width {
    grid-column: 1 / -1;
    max-width: 300px;
}

.price-input-item label {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}

.price-input-item input {
    padding: 12px 45px 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: border-color 0.3s;
}

.price-input-item input:focus {
    outline: none;
    border-color: #667eea;
}

.input-currency {
    position: absolute;
    right: 15px;
    bottom: 13px;
    color: #667eea;
    font-weight: 600;
    pointer-events: none;
}

.pricing-note-box {
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-note-box i {
    color: #667eea;
    font-size: 1.1rem;
}

.pricing-note-box span {
    color: #4a5568;
    font-size: 0.9rem;
}

.save-btn.large {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 30px;
}

/* Add New Section Styles */
.add-new-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.section-header h4 {
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.add-forms-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.add-form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.add-form-card h5 {
    color: #2d3748;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-grid .form-group:nth-child(3),
.form-grid .form-group:nth-child(4) {
    grid-column: span 1;
}

.form-grid .form-group label {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-grid .form-group input,
.form-grid .form-group select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-grid .form-group input:focus,
.form-grid .form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.add-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.add-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-1px);
}

.add-btn:active {
    transform: translateY(0);
}

/* Dynamic Tab Management */
.tab-management {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tab-management h5 {
    color: #2d3748;
    margin: 0;
    font-size: 0.95rem;
}

.remove-country-btn {
    background: #f56565;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.remove-country-btn:hover {
    background: #e53e3e;
}

/* Dynamic Duration Inputs */
.duration-input-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.duration-input-item {
    position: relative;
}

.remove-duration-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f56565;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.remove-duration-btn:hover {
    background: #e53e3e;
}

/* Country Management Styles */
.country-management-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
}

.management-container {
    margin-top: 20px;
}

.country-list-manager h5 {
    color: #2d3748;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

.country-items {
    display: grid;
    gap: 15px;
}

.country-management-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.country-info-edit {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.country-basic-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-basic-info h6 {
    margin: 0;
    color: #2d3748;
}

.country-edit-form {
    display: none;
    flex: 1;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-left: 15px;
}

.country-edit-form.active {
    display: grid;
}

.country-edit-form input,
.country-edit-form select {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.country-management-actions {
    display: flex;
    gap: 8px;
}

.edit-btn, .save-edit-btn, .cancel-edit-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.edit-btn:hover, .save-edit-btn:hover {
    background: #5a6fd8;
}

.cancel-edit-btn {
    background: #a0aec0;
}

.cancel-edit-btn:hover {
    background: #718096;
}

.delete-country-btn {
    background: #f56565;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.delete-country-btn:hover {
    background: #e53e3e;
}

/* Route Management Styles */
.add-route-section, .existing-routes-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
}

.route-form-container {
    margin-top: 20px;
}

.route-form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.route-form-card h5 {
    color: #2d3748;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.route-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.route-countries-section {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.route-countries-section h6 {
    color: #2d3748;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.countries-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.available-countries h6, .selected-countries h6 {
    color: #4a5568;
    margin: 0 0 10px 0;
    font-size: 0.85rem;
}

.country-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f7fafc;
}

.country-chip {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.country-chip:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.country-chip.available {
    background: #e2e8f0;
    color: #4a5568;
}

.country-chip.available:hover {
    background: #667eea;
    color: white;
}

.country-chip .remove-chip {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Routes Management List */
.routes-management-list {
    display: grid;
    gap: 15px;
}

.route-management-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.route-header-management {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.route-info-management {
    flex: 1;
}

.route-info-management h6 {
    color: #2d3748;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.route-details-management {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.route-countries-display {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.route-country-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.route-country-tag.vignette {
    background: #667eea;
    color: white;
}

.route-management-actions {
    display: flex;
    gap: 8px;
}

.edit-route-btn, .delete-route-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-route-btn {
    background: #48bb78;
    color: white;
}

.edit-route-btn:hover {
    background: #38a169;
}

.delete-route-btn {
    background: #f56565;
    color: white;
}

.delete-route-btn:hover {
    background: #e53e3e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-dashboard {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-main {
        height: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Add New Section Mobile */
    .add-forms-container {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .tab-btn {
        font-size: 0.8rem;
        padding: 12px 15px;
        margin: 2px;
    }
    
    .pricing-inputs-grid {
        grid-template-columns: 1fr;
    }
    
    .duration-input-container {
        grid-template-columns: 1fr;
    }
}