/* order/assets/app.css */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "IRANSans", "Tahoma", sans-serif;
    direction: rtl;
    background: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #c0392b;
}

.logo img {
    height: 32px;
}

.nav-link {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s;
}

.nav-link:hover {
    background: #f3f3f3;
}

.btn-outline {
    border-radius: 999px;
    border: 1px solid #c0392b;
    padding: 6px 16px;
    font-size: 13px;
    color: #c0392b;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #c0392b;
    color: #fff;
}

.hero {
    position: relative;
    min-height: 320px;
    background: url('assets/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 16px;
}

.hero-overlay {
    width: 100%;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.hero-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}

.location-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.location-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 16px;
    border: none;
    background: #e74c3c;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-location span {
    margin-left: 6px;
}

.btn-location:hover {
    background: #c0392b;
}

.status {
    margin-top: 8px;
    font-size: 13px;
}

.status-info {
    color: #555;
}

.status-success {
    color: #27ae60;
}

.status-error {
    color: #c0392b;
}

.branch-card {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
}

.branch-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.branch-status {
    font-size: 13px;
    margin-bottom: 4px;
}

.branch-distance {
    font-size: 12px;
    color: #777;
}

.branch-actions {
    margin-top: 8px;
}

.btn-primary {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: #e67e22;
    color: #fff;
    font-size: 13px;
}

.btn-primary:hover {
    background: #d35400;
}

@media (max-width: 768px) {
    .header {
        padding: 8px 12px;
    }
    .hero {
        padding: 24px 8px;
        min-height: 260px;
    }
}
