.rt-ubigeo-settings-wrap {
    max-width: 1200px;
    margin: 20px 0;
}

.rt-ubigeo-zones-wrap {
    max-width: 1200px;
    margin: 20px 0;
}

.rt-ubigeo-agencies-wrap {
    max-width: 1200px;
    margin: 20px 0;
}

.rt-ubigeo-agency-form-wrap {
    max-width: 800px;
    margin: 20px 0;
}

.rt-ubigeo-shipping-container {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.rt-ubigeo-shipping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #c3c4c7;
}

.rt-ubigeo-shipping-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.rt-ubigeo-shipping-actions {
    display: flex;
    gap: 10px;
}

.rt-ubigeo-province-selector {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 15px;
    background: #fafafa;
    margin-top: 10px;
}

.rt-ubigeo-province-filter {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.rt-ubigeo-province-item {
    display: block;
    margin-bottom: 8px;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.rt-ubigeo-province-item:hover {
    background-color: #f0f0f1;
}

.rt-ubigeo-province-item input {
    margin-right: 8px;
}

.rt-ubigeo-select-all {
    background: #e5f3ff;
    border: 1px solid #0073aa;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.rt-ubigeo-select-all input {
    margin-right: 8px;
}

.rt-ubigeo-shipping-info {
    background: #f0f6fc;
    border: 1px solid #0073aa;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.rt-ubigeo-shipping-info h4 {
    margin-top: 0;
    color: #0073aa;
}

.rt-ubigeo-shipping-warning {
    background: #fff8e5;
    border: 1px solid #f56e28;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.rt-ubigeo-shipping-warning h4 {
    margin-top: 0;
    color: #f56e28;
}

.rt-ubigeo-shipping-success {
    background: #e7f7e7;
    border: 1px solid #46b450;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.rt-ubigeo-shipping-success h4 {
    margin-top: 0;
    color: #46b450;
}

.rt-ubigeo-shipping-error {
    background: #ffeaea;
    border: 1px solid #dc3232;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.rt-ubigeo-shipping-error h4 {
    margin-top: 0;
    color: #dc3232;
}

.rt-ubigeo-agency-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

.rt-ubigeo-agency-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.rt-ubigeo-agency-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.rt-ubigeo-agency-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rt-ubigeo-agency-status.active {
    background: #e7f7e7;
    color: #46b450;
}

.rt-ubigeo-agency-status.inactive {
    background: #ffeaea;
    color: #dc3232;
}

.rt-ubigeo-agency-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.rt-ubigeo-agency-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.rt-ubigeo-agency-detail strong {
    color: #1d2327;
    min-width: 70px;
}

.rt-ubigeo-agency-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rt-ubigeo-cost-display {
    background: #f0f6fc;
    border: 2px solid #0073aa;
    border-radius: 4px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 1.1em;
    color: #0073aa;
    text-align: center;
    min-width: 80px;
}

.rt-ubigeo-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.rt-ubigeo-zone-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rt-ubigeo-zone-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #c3c4c7;
}

.rt-ubigeo-zone-icon {
    width: 48px;
    height: 48px;
    background: #0073aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2em;
}

.rt-ubigeo-zone-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

.rt-ubigeo-test-section {
    background: #f8f9fa;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 20px;
    margin-top: 30px;
}

.rt-ubigeo-test-section h3 {
    margin-top: 0;
    color: #1d2327;
}

.rt-ubigeo-test-results {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
    min-height: 50px;
}

.rt-ubigeo-bulk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.rt-ubigeo-bulk-actions select {
    min-width: 150px;
}

.rt-ubigeo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.rt-ubigeo-stat-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.rt-ubigeo-stat-number {
    font-size: 2.5em;
    font-weight: 600;
    color: #0073aa;
    margin: 0;
}

.rt-ubigeo-stat-label {
    font-size: 14px;
    color: #646970;
    margin-top: 5px;
}

.rt-ubigeo-form-section {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 25px;
    margin: 20px 0;
}

.rt-ubigeo-form-section h3 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #c3c4c7;
    color: #1d2327;
}

.rt-ubigeo-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rt-ubigeo-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rt-ubigeo-form-field label {
    font-weight: 600;
    color: #1d2327;
}

.rt-ubigeo-form-field input,
.rt-ubigeo-form-field textarea,
.rt-ubigeo-form-field select {
    padding: 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 14px;
}

.rt-ubigeo-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.rt-ubigeo-form-field .description {
    font-size: 13px;
    color: #646970;
    margin-top: 5px;
}

.rt-ubigeo-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.rt-ubigeo-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

input:checked + .rt-ubigeo-toggle-slider {
    background-color: #0073aa;
}

input:checked + .rt-ubigeo-toggle-slider:before {
    transform: translateX(26px);
}

.rt-ubigeo-help-text {
    background: #f0f6fc;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
}

.rt-ubigeo-help-text h4 {
    margin-top: 0;
    color: #0073aa;
}

.rt-ubigeo-help-text p {
    margin-bottom: 0;
    font-size: 14px;
    color: #646970;
}

@media (max-width: 768px) {
    .rt-ubigeo-zones-grid {
        grid-template-columns: 1fr;
    }
    
    .rt-ubigeo-agency-details {
        grid-template-columns: 1fr;
    }
    
    .rt-ubigeo-agency-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rt-ubigeo-agency-actions {
        flex-wrap: wrap;
    }
    
    .rt-ubigeo-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .rt-ubigeo-form-grid {
        grid-template-columns: 1fr;
    }
} 