/* ============================
   7DS GLOBAL THEME STYLING
   ============================ */

/* Colors */
:root {
    --primary: #007bff;
    --secondary: #444;
    --background: #ffffff;
    --light: #f5f5f5;
    --dark: #222;
    --text: #333;
}

/* Reset */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

/* Containers */
.ds-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* Titles */
.ds-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ds-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

/* Buttons */
.ds-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.ds-primary {
    background: var(--primary);
    color: white;
}

.ds-secondary {
    background: var(--secondary);
    color: white;
}

/* Header */
.ds-header {
    background: var(--dark);
    padding: 15px 0;
    color: white;
}

.ds-header .ds-logo h1 {
    margin: 0;
    color: white;
}

.ds-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.ds-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
.ds-footer {
    background: var(--dark);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Cards */
.ds-card {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {

    .ds-dashboard-grid,
    .ds-saved-trips-list {
        grid-template-columns: 1fr;
    }

    .ds-trip-stats {
        flex-direction: column;
    }
}


.ds-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.ds-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ds-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.ds-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.ds-primary {
    background: #007bff;
    color: white;
}

.ds-features {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.ds-feature {
    flex: 1;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
}

/* Trip Planner Layout */
.ds-trip-form {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ds-form-group {
    margin-bottom: 15px;
}

.ds-form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.ds-form-group input,
.ds-form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.ds-map {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ds-route-output {
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
}

/* Dashboard Layout */
.ds-quick-actions {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.ds-button.ds-secondary {
    background: #444;
    color: white;
}

.ds-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ds-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

/* Saved Trips Layout */
.ds-saved-trips-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ds-trip-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.ds-trip-card h3 {
    margin-top: 0;
}

.ds-trip-card .ds-card-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Live Trip Layout */
.ds-live-map {
    width: 100%;
    height: 450px;
    background: #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ds-turn-instructions {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ds-trip-stats {
    display: flex;
    gap: 20px;
}

.ds-stat {
    flex: 1;
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Mobile Bottom Navigation */
.ds-mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .ds-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #222;
        padding: 10px 0;
        justify-content: space-around;
        z-index: 9999;
    }

    .ds-mobile-item {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: bold;
    }

    body {
        padding-bottom: 60px;
        /* space for nav bar */
    }
}