.location-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.location-inputs input {
    flex: 1;
}

.locations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.location-badge {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
}

.location-badge .remove-btn {
    margin-left: 8px;
    cursor: pointer;
    color: #dc3545;
    font-weight: bold;
}

.score-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.score-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.score-label {
    width: 200px;
    font-weight: bold;
}

.score-value {
    width: 50px;
    text-align: center;
    font-weight: bold;
}

.bar-container {
    flex: 1;
    background-color: #e9ecef;
    height: 20px;
    border-radius: 10px;
    margin: 0 10px;
    overflow: hidden;
}

.bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

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

.location-table th, .location-table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
}

.location-table th {
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
}

.location-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.grade {
    font-size: 24px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    display: inline-block;
}

.grade-A {
    background-color: #28a745;
    color: white;
}

.grade-B {
    background-color: #5cb85c;
    color: white;
}

.grade-C {
    background-color: #f0ad4e;
    color: white;
}

.grade-D {
    background-color: #d9534f;
    color: white;
}

.grade-F {
    background-color: #dc3545;
    color: white;
}

.chart-container {
    margin: 30px 0;
    height: 400px;
}

.comparison-toggle {
    margin: 20px 0;
}

.location-action-btns {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

#map {
    height: 400px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.metric {
    font-weight: bold;
    color: #0066cc;
}

.info-icon {
    cursor: help;
    margin-left: 5px;
}

.app-intro {
    margin-bottom: 30px;
}

.competitor-analysis-container {
    margin-top: 20px;
}