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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.user-info-bar {
    background: #34495e;
    color: white;
    padding: 0.5rem 2rem;
    text-align: right;
    font-size: 0.9rem;
}

.user-info-bar .username {
    font-weight: bold;
    color: #3498db;
}

.container {
    max-width: 60%;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

nav {
    background: #333;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 a {
    color: white;
    text-decoration: none;
}

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

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #ecf0f1;
    color: #333;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #d5dbdb;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submission-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
    background: white;
}

.submission-photo {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.submission-content {
    padding: 1.5rem;
}

.submission-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.submission-date {
    color: #666;
    font-size: 0.9rem;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 0.8rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 0.8rem;
    border-radius: 5px;
    margin: 1rem 0;
}

#photoPreview {
    margin-top: 1rem;
    text-align: center;
}

#photoPreview img {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
}