#transporter-kalender-root {
    width: 100%;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tv-calendar-container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tv-header {
    background: #2271b1;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tv-header h2 {
    margin: 0;
    font-size: 24px;
}

.tv-nav-buttons {
    display: flex;
    gap: 10px;
}

.tv-nav-buttons button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.tv-nav-buttons button:hover {
    background: rgba(255,255,255,0.3);
}

.tv-login-section {
    padding: 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.tv-login-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tv-login-form input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.tv-login-form button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.tv-login-form button:hover {
    background: #135e96;
}

.tv-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tv-calendar-wrapper {
    overflow-x: auto;
    padding: 20px;
}

.tv-calendar {
    min-width: 100%;
    border-collapse: collapse;
}

.tv-calendar thead {
    background: #f8f9fa;
}

.tv-calendar th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    font-size: 12px;
    white-space: nowrap;
}

.tv-calendar td {
    padding: 8px;
    border: 1px solid #e9ecef;
    vertical-align: top;
    min-width: 120px;
    position: relative;
}

.tv-calendar td.today {
    background: #fff3cd;
}

.tv-vehicle-row {
    border-bottom: 2px solid #ddd;
}

.tv-vehicle-row td {
    background: #f8f9fa;
    font-weight: 600;
    padding: 12px 8px;
}

.tv-reservation {
    background: #2271b1;
    color: #fff;
    padding: 6px 8px;
    margin: 2px 0;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-reservation:hover {
    background: #135e96;
}

.tv-reservation-popup {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 250px;
    max-width: 350px;
}

.tv-reservation-popup.show {
    display: block;
}

.tv-popup-title {
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.tv-popup-info {
    margin: 5px 0;
    font-size: 14px;
}

.tv-popup-info strong {
    display: inline-block;
    min-width: 80px;
}

.tv-add-reservation-btn {
    background: #00a32a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 20px;
    display: inline-block;
}

.tv-add-reservation-btn:hover {
    background: #008a20;
}

.tv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.tv-modal.show {
    display: flex;
}

.tv-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.tv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.tv-modal-header h3 {
    margin: 0;
}

.tv-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.tv-form-group {
    margin-bottom: 15px;
}

.tv-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tv-form-group input,
.tv-form-group select,
.tv-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

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

.tv-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.tv-form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.tv-btn-primary {
    background: #2271b1;
    color: #fff;
}

.tv-btn-primary:hover {
    background: #135e96;
}

.tv-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.tv-btn-secondary:hover {
    background: #5a6268;
}

.tv-btn-delete {
    background: #dc3545 !important;
    color: #fff !important;
    border: 1px solid #dc3545 !important;
}

.tv-btn-delete:hover {
    background: #c82333 !important;
    border-color: #bd2130 !important;
}

.tv-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.tv-success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tv-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tv-calendar-wrapper {
        padding: 10px;
    }

    .tv-calendar {
        font-size: 12px;
    }

    .tv-calendar th,
    .tv-calendar td {
        padding: 6px 4px;
        min-width: 80px;
    }

    .tv-reservation {
        font-size: 10px;
        padding: 4px 6px;
    }

    .tv-modal-content {
        padding: 20px;
        width: 95%;
    }

    .tv-login-form {
        flex-direction: column;
        align-items: stretch;
    }

    .tv-login-form input,
    .tv-login-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tv-calendar th,
    .tv-calendar td {
        padding: 4px 2px;
        font-size: 11px;
        min-width: 60px;
    }

    .tv-vehicle-row td {
        font-size: 11px;
    }
}

