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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

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

.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    margin-bottom: 30px;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-links a:hover {
    background: #f0f0f0;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

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

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-open { background: #fef3c7; color: #92400e; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-qa { background: #fce7f3; color: #be185d; }
.status-closed { background: #d1fae5; color: #065f46; }

.severity-low { color: #059669; }
.severity-medium { color: #d97706; }
.severity-high { color: #dc2626; }
.severity-critical { color: #991b1b; font-weight: bold; }

.issue-list {
    list-style: none;
}

.issue-item {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.issue-item:last-child {
    border-bottom: none;
}

.issue-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.issue-meta {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-editor {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-editor:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.btn-editor:active {
    background: #e5e7eb;
    transform: translateY(1px);
}

#description-editor ul {
    margin: 8px 0;
    padding-left: 30px;
}

#description-editor li {
    margin: 4px 0;
    list-style-type: disc;
}

/* Sticky Footer */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

footer {
    flex-shrink: 0;
}