/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
    background-color: #f4f5f7;
    color: #172b4d;
    line-height: 1.4285714286;
    font-size: 14px;
}

/* Jira Container */
.jira-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.jira-header {
    background: #0052cc;
    color: white;
    padding: 0 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.25);
    position: relative;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.logo i {
    font-size: 18px;
    color: #ffd700;
}

.main-nav {
    display: flex;
    gap: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 3px;
    transition: all 0.1s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 6px 8px;
    gap: 6px;
    min-width: 200px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.user-menu i {
    font-size: 24px;
    cursor: pointer;
}

/* Profilbild und Logout */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #0052cc;
}

.username {
    font-weight: 600;
    color: #172b4d;
    font-size: 14px;
}

.logout-btn {
    background: #de350b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.logout-btn:hover {
    background: #bf2600;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Project Info */
.project-info {
    background: white;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(9, 30, 66, 0.13);
    border: 1px solid #dfe1e6;
}

.project-info h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #172b4d;
    line-height: 1.25;
}

.project-info p {
    color: #6b778c;
    margin-bottom: 20px;
    font-size: 14px;
}

.project-stats {
    display: flex;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #0052cc;
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: #6b778c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Filters */
.filters {
    background: white;
    border-radius: 3px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(9, 30, 66, 0.13);
    border: 1px solid #dfe1e6;
    display: flex;
    gap: 20px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #172b4d;
    white-space: nowrap;
}

.filter-group select {
    padding: 5px 8px;
    border: 2px solid #dfe1e6;
    border-radius: 3px;
    background: white;
    font-size: 14px;
    color: #172b4d;
    cursor: pointer;
    min-width: 120px;
    transition: all 0.1s ease;
}

.filter-group select:hover {
    border-color: #c1c7d0;
}

.filter-group select:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

/* Backlog Container */
.backlog-container {
    background: white;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(9, 30, 66, 0.13);
    border: 1px solid #dfe1e6;
    overflow: hidden;
}

.backlog-header {
    padding: 16px 20px;
    border-bottom: 1px solid #dfe1e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.backlog-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #172b4d;
    line-height: 1.25;
}

.add-item-btn {
    background: #0052cc;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.1s ease;
    height: 32px;
}

.add-item-btn:hover {
    background: #0047b3;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.2);
}

/* Backlog Items */
.backlog-items {
    padding: 0;
}

.backlog-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f4f5f7;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.1s ease;
    cursor: pointer;
    min-height: 48px;
}

.backlog-item:hover {
    background: #f8f9fa;
}

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

.backlog-item.fehlgeschlagen {
    border-left: 4px solid #ff5630;
    background: #fff8f8;
}

.backlog-item.ultra-epic {
    border-left: 4px solid #ff8b00;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.item-type {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.item-type.feature {
    background: #36b37e;
}

.item-type.bug {
    background: #ff5630;
}

.item-type.story {
    background: #6554c0;
}

.item-type.recherche {
    background: #0065ff;
}

.item-type.auftrag {
    background: #ff8b00;
}

.item-type.ultra-epic {
    background: linear-gradient(45deg, #ff5630, #ff8b00, #36b37e, #0065ff);
    background-size: 400% 400%;
    animation: ultra-epic-glow 3s ease-in-out infinite;
    font-size: 9px;
    box-shadow: 0 0 10px rgba(255, 86, 48, 0.5);
}

@keyframes ultra-epic-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-weight: 500;
    color: #172b4d;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.25;
}

.item-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6b778c;
    margin-bottom: 4px;
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ticket-number {
    font-weight: 600;
    color: #0052cc;
    background: #e8f4fd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.item-description {
    font-size: 12px;
    color: #6b778c;
    line-height: 1.4;
    margin-top: 4px;
}

.item-status {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.item-status.done {
    background: #e3fcef;
    color: #006644;
}

.item-status.fehlgeschlagen {
    background: #ffebe6;
    color: #bf2600;
}

.item-status.in-progress {
    background: #fff7e6;
    color: #974f0c;
}

.item-status.backlog {
    background: #f4f5f7;
    color: #42526e;
}

.item-priority {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.item-priority.high {
    background: #ff5630;
}

.item-priority.medium {
    background: #ffab00;
}

.item-priority.low {
    background: #36b37e;
}

/* Roadmap Modal */
.roadmap-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 30, 66, 0.8);
    backdrop-filter: blur(4px);
}

.roadmap-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 8px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(9, 30, 66, 0.4);
    border: 1px solid #dfe1e6;
    overflow: hidden;
    position: relative;
}

.roadmap-header {
    padding: 20px;
    border-bottom: 1px solid #dfe1e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.roadmap-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #172b4d;
    margin: 0;
}

.roadmap-close {
    color: #6b778c;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.roadmap-close:hover {
    color: #172b4d;
    background: white;
    transform: scale(1.1);
}

.roadmap-timeline {
    padding: 20px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.roadmap-major-version {
    margin-bottom: 40px;
    border-left: 4px solid #0052cc;
    padding-left: 25px;
    position: relative;
}

.roadmap-major-version::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #0052cc;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #0052cc;
}

/* Major-Version Headers */
.major-version-header {
    background: linear-gradient(135deg, #f4f5f7 0%, #e8eaed 100%);
    border-left: 4px solid #0052cc;
    margin: 20px 0 10px 0;
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.1);
}

.major-version-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.major-version-number {
    font-weight: 700;
    font-size: 16px;
    color: #172b4d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.major-version-count {
    font-size: 12px;
    color: #6b778c;
    background: rgba(107, 119, 140, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.major-version-items {
    margin-bottom: 20px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #dfe1e6;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.roadmap-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(9, 30, 66, 0.15);
    border-color: #0052cc;
}

.roadmap-item.fehlgeschlagen {
    border-left: 4px solid #ff5630;
    background: #fff8f8;
}

.roadmap-item.ultra-epic {
    border-left: 4px solid #ff8b00;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.roadmap-item-type {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.roadmap-item-type.feature {
    background: #36b37e;
}

.roadmap-item-type.bug {
    background: #ff5630;
}

.roadmap-item-type.story {
    background: #6554c0;
}

.roadmap-item-type.recherche {
    background: #0065ff;
}

.roadmap-item-type.auftrag {
    background: #ff8b00;
}

.roadmap-item-type.ultra-epic {
    background: linear-gradient(45deg, #ff5630, #ff8b00, #36b37e, #0065ff);
    background-size: 400% 400%;
    animation: ultra-epic-glow 3s ease-in-out infinite;
    font-size: 10px;
    box-shadow: 0 0 8px rgba(255, 86, 48, 0.4);
}

.roadmap-item-content {
    flex: 1;
    min-width: 0;
}

.roadmap-item-title {
    font-weight: 500;
    color: #172b4d;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.25;
}

.roadmap-item-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6b778c;
}

.roadmap-ticket-number {
    font-weight: 600;
    color: #0052cc;
    background: #e8f4fd;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.roadmap-version {
    font-weight: 500;
    color: #6b778c;
    background: #f4f5f7;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

.roadmap-status {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-status.done {
    background: #e3fcef;
    color: #006644;
}

.roadmap-status.fehlgeschlagen {
    background: #ffebe6;
    color: #bf2600;
}

.roadmap-status.in-progress {
    background: #fff7e6;
    color: #974f0c;
}

.roadmap-status.backlog {
    background: #f4f5f7;
    color: #42526e;
}

/* Bild-Modal */
/* Verbessertes Image Modal Design */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #dfe1e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%);
}

.image-modal-header h2 {
    margin: 0;
    color: #172b4d;
    font-size: 24px;
    font-weight: 600;
}

.image-close {
    color: #6b778c;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(107, 119, 140, 0.1);
}

.image-close:hover {
    color: #172b4d;
    background: rgba(107, 119, 140, 0.2);
}

.image-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.image-section {
    flex: 1;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    min-height: 400px;
}

.image-section img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

.info-section {
    padding: 20px 30px;
    background: white;
    border-top: 1px solid #dfe1e6;
}

.ticket-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0052cc;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-weight: 600;
    color: #6b778c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-weight: 600;
    color: #172b4d;
    font-size: 14px;
}

.description-section {
    margin-bottom: 20px;
}

.description-section h4 {
    margin: 0 0 8px 0;
    color: #172b4d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description-section p {
    margin: 0;
    color: #6b778c;
    font-size: 14px;
    line-height: 1.5;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0052cc;
}

.tags-section {
    border-top: 1px solid #dfe1e6;
    padding-top: 15px;
}

.tags-section h4 {
    margin: 0 0 10px 0;
    color: #172b4d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-input-container {
    margin-bottom: 10px;
}

.tag-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #dfe1e6;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    background: white;
}

.tag-input:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

.tag-input::placeholder {
    color: #9aa5b1;
    font-style: italic;
}

/* Verbesserte Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 20px;
}

.tag {
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 82, 204, 0.2);
    max-width: 120px;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 82, 204, 0.3);
}

.tag-remove {
    font-size: 9px;
    opacity: 0.8;
    transition: opacity 0.2s;
    cursor: pointer;
}

.tag-remove:hover {
    opacity: 1;
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ticket-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .image-section {
        padding: 20px;
        min-height: 300px;
    }
    
    .info-section {
        padding: 15px 20px;
    }
    
    .image-modal-header {
        padding: 15px 20px;
    }
    
    .image-modal-header h2 {
        font-size: 20px;
    }
    
    .meta-item {
        gap: 2px;
    }
    
    .meta-label {
        font-size: 10px;
    }
    
    .meta-value {
        font-size: 13px;
    }
} 

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 30, 66, 0.54);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 3px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(9, 30, 66, 0.25);
    border: 1px solid #dfe1e6;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #dfe1e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #172b4d;
    line-height: 1.25;
}

.close {
    color: #6b778c;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.1s ease;
}

.close:hover {
    color: #172b4d;
    background: #f4f5f7;
}

.modal-body {
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #172b4d;
    font-size: 14px;
    line-height: 1.25;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 6px 8px;
    border: 2px solid #dfe1e6;
    border-radius: 3px;
    font-size: 14px;
    color: #172b4d;
    transition: all 0.1s ease;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #c1c7d0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #dfe1e6;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: #fafbfc;
}

.btn-primary,
.btn-secondary {
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.1s ease;
    height: 32px;
    min-width: 80px;
}

.btn-primary {
    background: #0052cc;
    color: white;
}

.btn-primary:hover {
    background: #0047b3;
    box-shadow: 0 1px 3px rgba(9, 30, 66, 0.2);
}

.btn-secondary {
    background: #f4f5f7;
    color: #172b4d;
    border: 1px solid #dfe1e6;
}

.btn-secondary:hover {
    background: #ebecf0;
    border-color: #c1c7d0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .search-bar input {
        width: 150px;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .backlog-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .item-meta {
        flex-wrap: wrap;
    }
    
    .image-modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .image-info {
        padding: 16px;
    }
    
    .image-info h3 {
        font-size: 16px;
    }
} 

@keyframes ultra-epic-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
} 

/* Such-Highlighting */
.search-highlight {
    background: #ffd700;
    color: #000;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 600;
    box-shadow: 0 0 2px rgba(255, 215, 0, 0.5);
}

/* Suchleiste Styling */
.search-bar input:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

.search-bar input::placeholder {
    color: #6b778c;
    font-style: italic;
} 

/* Stylisches Profilbild und Dropdown */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #172b4d 0%, #253858 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #0052cc;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(9, 30, 66, 0.2);
}

.profile-avatar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(9, 30, 66, 0.3);
}

.avatar-text {
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(9, 30, 66, 0.2);
    border: 1px solid #dfe1e6;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
}

.dropdown-username {
    font-weight: 600;
    color: #172b4d;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background: #dfe1e6;
    margin: 4px 0;
}

.dropdown-logout-btn {
    background: none;
    border: none;
    color: #de350b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    width: 100%;
    text-align: left;
    transition: color 0.2s;
}

.dropdown-logout-btn:hover {
    color: #bf2600;
}

/* Keine Ergebnisse */
.no-results {
    text-align: center;
    padding: 40px;
    color: #6b778c;
    font-style: italic;
} 

/* Geiles Login-Design */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Animierte Hintergrund-Kreise */
.login-container::before,
.login-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.login-container::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.login-container::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 10;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.login-header p {
    color: #6b778c;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #9aa5b1;
    font-weight: 500;
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.login-btn:active {
    transform: translateY(-1px);
}

.error-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Glowing Border Effect */
.login-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #667eea);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
    background-size: 400% 400%;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .login-header h1 {
        font-size: 28px;
    }
    
    .login-header p {
        font-size: 14px;
    }
} 

/* Tags Styling */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 82, 204, 0.2);
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 82, 204, 0.3);
}

.tag-remove {
    font-size: 10px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.tag-remove:hover {
    opacity: 1;
    color: #ff6b6b;
}

.tag-input-container {
    margin-top: 10px;
}

.tag-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #dfe1e6;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.tag-input:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

.tag-input::placeholder {
    color: #9aa5b1;
    font-style: italic;
}

/* Tags in Backlog-Items */
.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
    max-height: 20px;
    overflow: hidden;
}

.item-tag {
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    color: white;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 82, 204, 0.2);
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Image Modal Footer */
.image-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dfe1e6;
}

.tags-section h4 {
    margin: 0 0 10px 0;
    color: #172b4d;
    font-size: 14px;
    font-weight: 600;
}

/* Add-Item Modal */
.add-item-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.add-item-modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.add-item-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #dfe1e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%);
}

.add-item-modal-header h2 {
    margin: 0;
    color: #172b4d;
    font-size: 20px;
    font-weight: 600;
}

.add-item-close {
    color: #6b778c;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(107, 119, 140, 0.1);
}

.add-item-close:hover {
    color: #172b4d;
    background: rgba(107, 119, 140, 0.2);
}

.add-item-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.add-item-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: #172b4d;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #dfe1e6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px dashed #dfe1e6;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    border-color: #0052cc;
    background: #f0f4ff;
}

.file-upload-label i {
    font-size: 20px;
    color: #6b778c;
}

.file-upload-label span {
    color: #6b778c;
    font-size: 14px;
}

/* Version und Status Info */
.version-info,
.status-info {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 4px;
}

.version-info {
    background: #e8f4fd;
    color: #0052cc;
    border-left: 3px solid #0052cc;
}

.status-info {
    background: #f0f4ff;
    color: #172b4d;
    border-left: 3px solid #0052cc;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #dfe1e6;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.btn-secondary {
    background: #f4f5f7;
    color: #6b778c;
}

.btn-secondary:hover {
    background: #e8eaed;
    color: #172b4d;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 10001;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: linear-gradient(135deg, #36b37e 0%, #00875a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(54, 179, 126, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .add-item-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .add-item-modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
} 

 