@charset "UTF-8";

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background: linear-gradient(135deg, #f7f5f3 0%, #e8e3df 25%, #d4cfc9 75%, #c9c2ba 100%);
            color: #2d2d2d;
            line-height: 1.6;
        }
        
        h1 {
			      font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
            text-align: center;
            color: #634631;
        }
        
        h1 span {
        
        }
        
        .container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-container {
            background-color: #EDEDED;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

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

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

        .form-group.full-width {
            grid-column: 1 / -1;
        }
        
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        #series-form {
            display: grid;
            gap: 16px;
        }
        
        input, select, textarea {
            width: 99%;
            padding: 8px;
            padding-right: 0px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        
        textarea {
            resize: vertical;
            min-height: 60px;
        }
        
        button {
            background-color: #8d7b68;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
        }
        
        button:hover {
            background-color: #a69688;
        }
        
        .controls {
            display: flex;
            gap: 10px;
            background-color: #EDEDED;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .search-container {
            flex-grow: 1;
        }
        
        .filter-container, .sort-container {
            min-width: 150px;
        }
        
        table {
            border-collapse: collapse;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        /*.actions {
            display: flex;
            gap: 5px;
            justify-content: center;
            align-items: center;
            height: 60px;
        }*/
        
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        td {
            height: 60px; 
            vertical-align: middle;
            overflow: hidden;
        }
        
        
        td:las-child {
            text-align: center;
        }
        
        tr:hover {
            background-color: #f5f5f5;
        }
        
        .actions {
            display: flex;
            gap: 5px;
        }
        
        .details-btn {
            background-color: #9c27b0;
            width: 95px;
        }

        .details-btn:hover {
            background-color: #7b1fa2;
        }
        
        .edit-btn {
            background-color: #2196F3;
            width: 95px;
        }
        
        .edit-btn:hover {
            background-color: #0b7dda;
        }
        
        .delete-btn {
            background-color: #f44336;
            width: 95px;
        }
        
        .delete-btn:hover {
            background-color: #da190b;
        }
        
        .status-watched {
            display: inline-block;
            background-color: #e8f5e9;
            padding: 5px 10px;
            border-radius: 4px;
            color: #388e3c;
            font-size: 14px;
        }
        
        .status-watching {
            display: inline-block;
            background-color: #e3f2fd;
            padding: 5px 10px;
            border-radius: 4px;
            color: #1565c0;
            font-size: 14px;
        }
        
        .status-towatch {
            display: inline-block;
            background-color: #fff3e0;
            padding: 5px 10px;
            border-radius: 4px;
            color: #ef6c00;
            font-size: 14px;
        }
        
        .status-paused {
            display: inline-block;
            background-color: #ffebee;
            padding: 5px 10px;
            border-radius: 4px;
            color: #c62828;
            font-size: 14px;

        }
        
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border-left-color: #4CAF50;
            animation: spin 1s linear infinite;
            margin: 20px auto;
            display: none;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .platform-icon {
            font-weight: bold;
            padding: 6px 12px;
            border-radius: 3px;
            margin-right: 5px;
            font-size: 14px;
            color: white;
        }
        
        .netflix {
            background-color: #E50914;
        }
        
        .amazon {
            background-color: #00A8E1;
        }
        
        .disney {
            background-color: #113CCF;
        }
        
        .crunchyroll {
            background-color: #F47521;
        }
        
        .aniworld {
            background-color: #4B0082;
        }
        
        .other {
            background-color: #888888;
        }
        
        .notes-row {
            display: none;
            background-color: #f9f9f9;
        }

        .notes-content {
            padding: 15px;
            border-bottom: 1px solid #ddd;
            white-space: pre-line;
        }
        
        /* Neue Styles für Notiz-Indikator */
        .has-notes {
            position: relative;
            display: inline-flex;
            align-items: center;
        }
        
        .notes-indicator {
            display: inline-block;
            width: 8px;
            height: 8px;
            background-color: #ff9800;
            border-radius: 50%;
            margin-left: 8px;
        }
        
        .notes-tooltip {
            visibility: hidden;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 4px;
            padding: 5px 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -60px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
            white-space: nowrap;
        }
        
        .has-notes:hover .notes-tooltip {
            visibility: visible;
            opacity: 1;
        }
        
        /* Stil für die Serien-Zähleranzeige */
        .series-counter {
            display: inline-block;
            color: #634631;
            padding: 3px 8px;
            border-radius: 12px;
            margin-left: 50px;
        }

        /* Navigation Button */
        .nav-button {
            background-color: #8d7b68;
            margin-bottom: 20px;
        }

        .nav-button:hover {
            background-color: #a69688;
        }
        
        /* Verbesserte Spaltenbreiten */
        th:nth-child(1), td:nth-child(1) { width: 20%; } /* Titel */
        th:nth-child(2), td:nth-child(2) { width: 15%; } /* Genre */
        th:nth-child(3), td:nth-child(3) { width: 10%; } /* Plattform */
        th:nth-child(4), td:nth-child(4) { width: 7%; } /* Staffeln */
        th:nth-child(5), td:nth-child(5) { width: 15%; } /* Status */
        th:nth-child(6), td:nth-child(6) { width: 7%; } /* Bewertung */
        th:nth-child(7), td:nth-child(7) { width: 10%; } /* Fortschritt */