* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f5dc 100%);
    min-height: 100vh;
}

.navbar {
    background-color: #8fbc8f;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.navbar-quote {
    font-size: 0.85rem;
    opacity: 0.9;
    font-style: italic;
    margin: 0;
}

.navbar h1 {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.flash-messages {
    margin-bottom: 1rem;
}

.flash-message {
    background-color: #f5f5dc;
    color: #2c3e50;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #8fbc8f;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #7ba47b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-secondary {
    background-color: #778899;
    color: white;
}

.btn-secondary:hover {
    background-color: #696f7c;
}

.btn-helpful {
    background-color: #8fbc8f;
    color: white;
}

.btn-helpful:hover {
    background-color: #7ba47b;
}

.btn-not-helpful {
    background-color: #778899;
    color: white;
}

.btn-not-helpful:hover {
    background-color: #696f7c;
}

.btn-delete {
    background-color: #778899;
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.btn-delete:hover {
    background-color: #696f7c;
}

.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f5f5dc;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-help {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.dashboard {
    display: grid;
    gap: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-card {
    background-color: #fefefe;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stats-card.total-bridges {
    background-color: #f8f9fa;
    border: 2px solid #778899;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.stats-card.total-bridges .bridge-count {
    color: #778899;
    font-size: 3.5rem;
}

.stats-card.total-bridges h3 {
    color: #778899;
    font-weight: bold;
}

.bridge-count {
    font-size: 3rem;
    font-weight: bold;
    color: #8fbc8f;
    margin: 1rem 0;
}

.feedback-section {
    background-color: #fefefe;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-item {
    padding: 1rem;
    border: 1px solid #8fbc8f;
    border-radius: 4px;
    background-color: white;
}

.feedback-content {
    margin-bottom: 1rem;
}

.feedback-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.feedback-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-helpful {
    color: #8fbc8f;
    font-weight: bold;
}

.rating-not-helpful {
    color: #778899;
    font-weight: bold;
}

.actions {
    text-align: center;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.user-card {
    background-color: #fefefe;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.user-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feedback-form-page {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-form {
    background-color: #f5f5dc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.feedback-info {
    background-color: #f5f5dc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #8fbc8f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feedback-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feedback-info ul {
    margin-left: 1rem;
}

.feedback-info li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .container {
        padding: 1rem;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-actions {
        flex-direction: column;
    }
}