/* Main Styles */
:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --accent-color: #ff6d00;
    --success-color: #43a047;
    --danger-color: #e53935;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header & Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Card Styles */
.card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: var(--light-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-warning {
    color: white;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(41, 98, 255, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* List Group Styles */
.list-group-item {
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.list-group-item:last-child {
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Shelter List */
.shelter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shelter-name {
    font-weight: 500;
}

.shelter-distance {
    font-size: 0.9rem;
    color: #666;
}

/* Route Steps */
.step-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-left: 0.5rem;
}

.step-instruction {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.step-details {
    display: flex;
    font-size: 0.85rem;
    color: #666;
}

.step-distance {
    margin-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    
    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 350px;
    }
    
    .btn {
        padding: 0.375rem 0.75rem;
    }
} 