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

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #1e293b;
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
}

nav a.active, nav a:hover {
    color: #007bff;
}

main {
    padding: 2rem 0;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.required {
    color: #dc2626;
    font-weight: bold;
}

.bug-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.form-row {
    margin-bottom: 1.25rem;
}

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

.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

.half-row {
    display: flex;
    gap: 1rem;
}
.half {
    flex: 1;
}

.env-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.env-group input {
    flex: 1;
    min-width: 150px;
}

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

button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #0056b3;
}
button#resetBtn {
    background: #6c757d;
}
button#resetBtn:hover {
    background: #5a6268;
}
button#exportPdfBtn {
    background: #28a745;
}
button#exportPdfBtn:hover {
    background: #218838;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}
.form-message.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}
.form-message.error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.report-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border-left: 4px solid #007bff;
}
.report-item strong {
    font-size: 1.1rem;
}
.report-item .meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
.report-actions {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}
.report-actions button {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    color: #6c757d;
}

@media (max-width: 768px) {
    .half-row {
        flex-direction: column;
    }
    .env-group {
        flex-direction: column;
    }
    .form-actions {
        flex-direction: column;
    }
    button {
        width: 100%;
    }
}